src/main/java/com/greghaskins/spectrum/internal/junit/RuleContext.java
/**
   * Add the method and test rules execution around a test method statement.
   * @param base the base statement
   * @param description of the child
   * @return the statement to use to execute the child within the rules
   * @throws Throwable on error
   */
Add the method and test rules execution around a test method statement.
@param base the base statement
@param description of the child
@return the statement to use to execute the child within the rules
@throws Throwable on error
Add the method and test rules execution around a test method statement . @param base the base statement @param description of the child @return the statement to use to execute the child within the rules @throws Throwable on error
private Statement decorate(final Statement base, final Description description) throws Throwable {
    if (constructEveryTime) {
      constructTestObject();
    }
    return withTestRules(getTestRules(currentTestObject),
        withMethodRules(base, getMethodRules(currentTestObject)), description);
  }
private Statement decorate ( final Statement base , final Description description ) throws Throwable { if ( constructEveryTime ) { constructTestObject ( ) ; } return withTestRules ( getTestRules ( currentTestObject ) , withMethodRules ( base , getMethodRules ( currentTestObject ) ) , description ) ; }
Add the method and test rules execution around a test method statement.
Add the method and test rules execution around a test method statement .