public void testQuorumSucceed(){
  quorum.succeed();
  quorum.fail();
  assertEquals(callbackResult.get(),0);
  quorum.fail();
  quorum.succeed();
  assertEquals(callbackResult.get(),1);
}

public void testQuorumSucceed ( ) { quorum . succeed ( ) ; quorum . fail ( ) ; assertEquals ( callbackResult . get ( ) , 0 ) ; quorum . fail ( ) ; quorum . succeed ( ) ; assertEquals ( callbackResult . get ( ) , 1 ) ; }
tests a successful quorum .
