@Test(expected = IllegalArgumentException.class) public void null_builder_throws_exception() { this.behaviour.transform(null); }
@Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) { throw new IllegalArgumentException("builder"); } return new SpecimenTracer(builder, this.strategy, this.traceWriter); }
TracingBehaviour implements FixtureBehaviour { @Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) { throw new IllegalArgumentException("builder"); } return new SpecimenTracer(builder, this.strategy, this.traceWriter); } }
TracingBehaviour implements FixtureBehaviour { @Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) { throw new IllegalArgumentException("builder"); } return new SpecimenTracer(builder, this.strategy, this.traceWriter); } TracingBehaviour(TracingStrategy strategy, Appendable traceWriter); }
TracingBehaviour implements FixtureBehaviour { @Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) { throw new IllegalArgumentException("builder"); } return new SpecimenTracer(builder, this.strategy, this.traceWriter); } TracingBehaviour(TracingStrategy strategy, Appendable traceWriter); @Override SpecimenBuilder transform(SpecimenBuilder builder); }
TracingBehaviour implements FixtureBehaviour { @Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) { throw new IllegalArgumentException("builder"); } return new SpecimenTracer(builder, this.strategy, this.traceWriter); } TracingBehaviour(TracingStrategy strategy, Appendable traceWriter); @Override SpecimenBuilder transform(SpecimenBuilder builder);  }