@Test
public void shouldLogChannelClose() throws Exception {

    EmbeddedChannel channel = new EmbeddedChannel(new LoggingHandler());
    channel.close().await();
    verify(appender).doAppend(argThat(new RegexLogMatcher(".+CLOSE$")));
}