@Test
void shouldAddChannelToGroupWhenChannelCreated()
{

    Channel channel = newChannel();
    Channel anotherChannel = newChannel();
    ChannelGroup group = mock( ChannelGroup.class );
    NettyChannelTracker tracker = new NettyChannelTracker( DEV_NULL_METRICS, group, DEV_NULL_LOGGING );
    tracker.channelCreated( channel, null );
    tracker.channelCreated( anotherChannel, null );
    verify( group ).add( channel );
    verify( group ).add( anotherChannel );
}