// Path: heartbeat-network/src/main/java/com/heartbeat/network/BeatListener.java
// public interface BeatListener {
//     void onBeat(byte[] response);
// 
//     void onError(Exception e);
// }
// 
// Path: heartbeat-network/src/main/java/com/heartbeat/network/HeartBeatConfiguration.java
// public interface HeartBeatConfiguration {
//     long getInterval();
// 
//     long getFailedRetryInterval();
// 
//     int getSocketTimeout();
// 
//     int getSocketPort();
// 
//     int getServerPort();
// }


import com.heartbeat.network.BeatListener;
import com.heartbeat.network.HeartBeatConfiguration;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
package com.heartbeat.network.udp;



@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class UDPHeartBeatTest {
// Path: heartbeat-network/src/main/java/com/heartbeat/network/BeatListener.java
// public interface BeatListener {
//     void onBeat(byte[] response);
// 
//     void onError(Exception e);
// }
// 
// Path: heartbeat-network/src/main/java/com/heartbeat/network/HeartBeatConfiguration.java
// public interface HeartBeatConfiguration {
//     long getInterval();
// 
//     long getFailedRetryInterval();
// 
//     int getSocketTimeout();
// 
//     int getSocketPort();
// 
//     int getServerPort();
// }


// Path: heartbeat-network/src/test/java/com/heartbeat/network/udp/UDPHeartBeatTest.java
import com.heartbeat.network.BeatListener;
import com.heartbeat.network.HeartBeatConfiguration;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import java.net.DatagramPacket;
import java.net.DatagramSocket;

package com.heartbeat.network.udp;



@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class UDPHeartBeatTest {
    HeartBeatConfiguration conf = new HeartBeatConfiguration() {