### Question:
HazelcastQuorumListener extends MembershipAdapter implements HZQuorumListener { @Override public boolean isQuorum() { return isQuorum.get(); } HazelcastQuorumListener(final int quorum); @Override void memberAdded(final MembershipEvent e); @Override void memberRemoved(final MembershipEvent e); @Override boolean isQuorum();  }### Answer:
@Test public void shouldBeQuorum() { listener = new HazelcastQuorumListener(1); assertTrue(listener.isQuorum()); }
@Test public void shouldBeQuorum2() { listener = new HazelcastQuorumListener(2); assertFalse(listener.isQuorum()); }