Exemplo n.º 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());
 }
Exemplo n.º 3
0
 @Test(expected = IllegalStateException.class)
 public void stateWithFalseExpressionThrowsException() throws Exception {
   Assert.state(false);
 }