@Test(expected = QuorumException.class) public void testGetAllOperationThrowsExceptionWhenQuorumSizeNotMet() { HashSet<Integer> hashSet = new HashSet<Integer>(); hashSet.add(123); cache4.getAll(hashSet); }
@Test public void testGetAllOperationSuccessfulWhenQuorumSizeMet() { HashSet<Integer> hashSet = new HashSet<Integer>(); hashSet.add(123); cache1.getAll(hashSet); }