Added asserts to make sure ChannelHandlers are removed from the pipeline

This commit is contained in:
Jakob Buchgraber 2014-03-03 01:21:50 +01:00 committed by Norman Maurer
parent 2062e774eb
commit 15d28f0c59

View File

@ -145,8 +145,11 @@ public class DefaultChannelPipelineTest {
assertSame(pipeline.get("handler3"), handler3);
pipeline.remove(handler1);
assertNull(pipeline.get("handler1"));
pipeline.remove(handler2);
assertNull(pipeline.get("handler2"));
pipeline.remove(handler3);
assertNull(pipeline.get("handler3"));
}
@Test