@Test
void shouldFailToConnectWhenNoServerIdentifierIsProvided()
{

    ChannelPromise channelPromise = channel.newPromise();
    InitResponseHandler handler = new InitResponseHandler( channelPromise );
    Map<String,Value> metadata = singletonMap( "server", Values.NULL );
    assertThrows( UntrustedServerException.class, () -> handler.onSuccess( metadata ) );
}