@Test
void shouldSetServerVersionOnChannel()
{

    ChannelPromise channelPromise = channel.newPromise();
    InitResponseHandler handler = new InitResponseHandler( channelPromise );
    Map<String,Value> metadata = singletonMap( "server", value( anyServerVersion().toString() ) );
    handler.onSuccess( metadata );
    assertTrue( channelPromise.isSuccess() );
    assertEquals( anyServerVersion(), serverVersion( channel ) );
}