public boolean isAuthCredentials() {
        return StringUtils.isNotBlank(this.username) && StringUtils.isNotBlank(this.password);
    }
@Test
    void authenticated_cluster_connection() {
        // when
        ClusterConnection connection = ClusterConnection.builder()
            .contactPoints("127.0.0.1")
            .port(29042)
            .localDatacenter("dc1")
            .username("will")
            .password("will-password")
            .build();

        // then
        assertThat(connection.isAuthCredentials()).isTrue();
        assertThat(connection.getContactPoints()).isEqualTo("127.0.0.1");
        assertThat(connection.getPort()).isEqualTo(29042);
        assertThat(connection.getUsername()).isEqualTo("will");
        assertThat(connection.getPassword()).isEqualTo("will-password");
        assertThat(connection.getLocalDatacenter()).isEqualTo("dc1");
    }