@Test public void throw_exception_adds_throwing_recursion_customisation() { this.behaviour.throwException(); verify(this.mockContainer).customise(isA(ThrowingRecursionCustomisation.class)); }
public FluentCustomisation throwException() { this.customisationContainer.customise(new ThrowingRecursionCustomisation()); return this.fluentCustomisation; }
RecursionBehaviour { public FluentCustomisation throwException() { this.customisationContainer.customise(new ThrowingRecursionCustomisation()); return this.fluentCustomisation; } }
RecursionBehaviour { public FluentCustomisation throwException() { this.customisationContainer.customise(new ThrowingRecursionCustomisation()); return this.fluentCustomisation; } RecursionBehaviour(CustomisationContainer customisationContainer, FluentCustomisation fluentCustomisation); }
RecursionBehaviour { public FluentCustomisation throwException() { this.customisationContainer.customise(new ThrowingRecursionCustomisation()); return this.fluentCustomisation; } RecursionBehaviour(CustomisationContainer customisationContainer, FluentCustomisation fluentCustomisation); FluentCustomisation throwException(); FluentCustomisation omitSpecimen(); }
RecursionBehaviour { public FluentCustomisation throwException() { this.customisationContainer.customise(new ThrowingRecursionCustomisation()); return this.fluentCustomisation; } RecursionBehaviour(CustomisationContainer customisationContainer, FluentCustomisation fluentCustomisation); FluentCustomisation throwException(); FluentCustomisation omitSpecimen();  }