@Test
public void shouldLogChannelConnect() throws Exception {

    EmbeddedChannel channel = new EmbeddedChannel(new LoggingHandler());
    channel.connect(new InetSocketAddress(80)).await();
    verify(appender).doAppend(argThat(new RegexLogMatcher(".+CONNECT: 0.0.0.0/0.0.0.0:80$")));
}