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