예제 #1
0
 @Test
 public void stateWithTrueExpressionSunnyDay() throws Exception {
   Assert.state(true);
 }
 @Override
 public void remove() {
   Assert.state(this.last != null);
   ConcurrentReferenceHashMap.this.remove(this.last.getKey());
 }
예제 #3
0
 @Test(expected = IllegalStateException.class)
 public void stateWithFalseExpressionThrowsException() throws Exception {
   Assert.state(false);
 }