Refactor UDPTest

This commit is contained in:
Grzegorz Piwowarek 2016-10-26 07:09:21 +02:00
parent 99f2ae6a32
commit 24ee4fb35c
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,11 @@ public class UDPTest {
@After
public void tearDown() {
client.sendEcho("end");
stopEchoServer();
client.close();
}
private void stopEchoServer() {
client.sendEcho("end");
}
}