@Test public void tells_strategy_to_write_the_request() throws IOException { Object request = new Object(); this.tracer.create(request, this.mockContext); verify(mockStrategy).writeRequest(this.mockAppendable, request); }
@Override public Object create(Object request, SpecimenContext context) { return createAndTraceSpecimen(request, context); }
SpecimenTracer implements SpecimenBuilder { @Override public Object create(Object request, SpecimenContext context) { return createAndTraceSpecimen(request, context); } }
SpecimenTracer implements SpecimenBuilder { @Override public Object create(Object request, SpecimenContext context) { return createAndTraceSpecimen(request, context); } SpecimenTracer(SpecimenBuilder builder,
                          TracingStrategy tracingStrategy,
                          Appendable traceWriter); }
SpecimenTracer implements SpecimenBuilder { @Override public Object create(Object request, SpecimenContext context) { return createAndTraceSpecimen(request, context); } SpecimenTracer(SpecimenBuilder builder,
                          TracingStrategy tracingStrategy,
                          Appendable traceWriter); @Override Object create(Object request, SpecimenContext context); Appendable getTraceWriter(); TracingStrategy getTracingStrategy(); }
SpecimenTracer implements SpecimenBuilder { @Override public Object create(Object request, SpecimenContext context) { return createAndTraceSpecimen(request, context); } SpecimenTracer(SpecimenBuilder builder,
                          TracingStrategy tracingStrategy,
                          Appendable traceWriter); @Override Object create(Object request, SpecimenContext context); Appendable getTraceWriter(); TracingStrategy getTracingStrategy();  }