From: David ‘Bombe’ Roden Date: Sat, 22 Aug 2015 17:02:29 +0000 (+0200) Subject: Refactoring X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=35b4749027c92138a5cce39a0a6e2a3718f76105;p=jFCPlib.git Refactoring --- diff --git a/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java b/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java index c37b5e0..6f9e52d 100644 --- a/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java +++ b/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java @@ -2002,6 +2002,10 @@ public class DefaultFcpClientTest { private void connectAndAssert(Supplier>> requestMatcher) throws InterruptedException, ExecutionException, IOException { connectNode(); + readMessage(requestMatcher); + } + + private void readMessage(Supplier>> requestMatcher) throws IOException { lines = fcpServer.collectUntil(is("EndMessage")); identifier = extractIdentifier(lines); assertThat(lines, requestMatcher.get());