@Test
void shouldSetServerVersionOnChannel()
{

    ChannelPromise channelPromise = channel.newPromise();
    HelloResponseHandler handler = new HelloResponseHandler( channelPromise, BoltProtocolV3.VERSION );
    Map<String,Value> metadata = metadata( anyServerVersion(), "bolt-1" );
    handler.onSuccess( metadata );
    assertTrue( channelPromise.isSuccess() );
    assertEquals( anyServerVersion(), serverVersion( channel ) );
}