コード例 #1
0
 @Test
 @Named("implementedStep.isPending[] should be false")
 @Order(2)
 public void _implementedStepIsPendingShouldBeFalse() throws Exception {
   Given _implementedStep = Features.implementedStep();
   boolean _isPending = _implementedStep.isPending();
   boolean _should_be = Should.<Boolean>should_be(Boolean.valueOf(_isPending), false);
   Assert.assertTrue(
       "\nExpected implementedStep.isPending() should be false but"
           + "\n     implementedStep.isPending() is "
           + new StringDescription().appendValue(Boolean.valueOf(_isPending)).toString()
           + "\n     implementedStep is "
           + new StringDescription().appendValue(_implementedStep).toString()
           + "\n",
       _should_be);
 }
コード例 #2
0
 @Test
 @Named("stepWithoutImplementation.isPending[] should be true")
 @Order(1)
 public void _stepWithoutImplementationIsPendingShouldBeTrue() throws Exception {
   Given _stepWithoutImplementation = Features.stepWithoutImplementation();
   boolean _isPending = _stepWithoutImplementation.isPending();
   boolean _should_be = Should.<Boolean>should_be(Boolean.valueOf(_isPending), true);
   Assert.assertTrue(
       "\nExpected stepWithoutImplementation.isPending() should be true but"
           + "\n     stepWithoutImplementation.isPending() is "
           + new StringDescription().appendValue(Boolean.valueOf(_isPending)).toString()
           + "\n     stepWithoutImplementation is "
           + new StringDescription().appendValue(_stepWithoutImplementation).toString()
           + "\n",
       _should_be);
 }