File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/test/java/com/github/dockerjava/netty/handler Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11package com .github .dockerjava .netty .handler ;
22
3- import com .github .dockerjava .core .async .ResultCallbackTemplate ;
3+ import static org .testng .Assert .assertTrue ;
4+
5+ import java .io .InputStream ;
6+
47import io .netty .buffer .ByteBuf ;
58import io .netty .buffer .ByteBufInputStream ;
69import io .netty .buffer .Unpooled ;
710import io .netty .channel .ChannelHandlerContext ;
811import org .apache .commons .io .IOUtils ;
912import org .mockito .Mockito ;
10- import org .testng .Assert ;
1113import org .testng .annotations .Test ;
1214
13- import java . io . InputStream ;
15+ import com . github . dockerjava . core . async . ResultCallbackTemplate ;
1416
1517/**
1618 * @author Alexander Koshevoy
@@ -25,7 +27,7 @@ public void testNoBytesSkipped() throws Exception {
2527 streamHandler .channelRead0 (ctx , buffer );
2628 streamHandler .channelReadComplete (ctx );
2729
28- Assert . assertTrue (IOUtils .contentEquals (callback .getInputStream (), new ByteBufInputStream (buffer )));
30+ assertTrue (IOUtils .contentEquals (callback .getInputStream (), new ByteBufInputStream (buffer )));
2931 }
3032
3133 private ByteBuf generateByteBuf () {
You can’t perform that action at this time.
0 commit comments