@Test
public void testWrongMemberIsRejected() throws IOException {

    setupServerAndResolver(member -> ClusterMemberVerifierResult.invalid("wrong member"));
    await().until(() -> resolver.getRejectedMemberError().equals("wrong member"));
}