@Test
void shouldNotExposeCredentialsInToString()
{

    Map<String,Value> authToken = new HashMap<>();
    authToken.put( PRINCIPAL_KEY, value( "Alice" ) );
    authToken.put( CREDENTIALS_KEY, value( "SecretPassword" ) );
    HelloMessage message = new HelloMessage( "MyDriver/1.0.2", authToken, Collections.emptyMap() );
    assertThat( message.toString(), not( containsString( "SecretPassword" ) ) );
}