@Test
public void shouldBeInvalidIfContainsUnsupportedSaslMechanism() {

    assertThat(underTest.isValid(
            getConnectionWithSaslMechanism(KNOWN_UNSUPPORTED_OAUTHBEARER_SASL_MECHANISM))).isFalse();
    assertThat(
            underTest.isValid(getConnectionWithSaslMechanism(KNOWN_UNSUPPORTED_GSSAPI_SASL_MECHANISM))).isFalse();
    assertThat(underTest.isValid(getConnectionWithSaslMechanism(UNKNOWN_SASL_MECHANISM))).isFalse();
}