コード例 #1
0
 @Test(expected = QuorumException.class)
 public void testClearOperationThrowsExceptionWhenQuorumSizeNotMet() {
   cache4.clear();
 }
コード例 #2
0
 @Test
 public void testClearOperationSuccessfulWhenQuorumSizeMet() {
   cache1.clear();
 }