@Test(timeout = 30_000)
public void testMemberRemoval() {

    Iterator<ClusterMembershipSnapshot> eventIterator = resolver.resolve().toIterable().iterator();
    eventIterator.next();
    memberResolver1.removeMembers(MEMBER_2.getCurrent().getMemberId());
    memberResolver2.changeHealth(false);
    ClusterMembershipSnapshot nextEvent = eventIterator.next();
    assertThat(nextEvent.getMemberRevisions()).hasSize(1);
}