### Question:
DebugTracingStrategy implements TracingStrategy { public void writeRequest(Appendable appendable, Object request) throws IOException { appendable.append(StringUtil.repeat("\t", depth++)); appendable.append("Requested: ").append(request.toString()); appendable.append("\n"); }  void writeRequest(Appendable appendable, Object request); void writeCreated(Appendable appendable, Object request, Object specimen); @Override void writeError(Appendable appendable, Exception exception);  }### Answer:
@Test public void writing_request_is_formatted_correctly() throws IOException { this.strategy.writeRequest(this.appendable, this.request); assertEquals("Requested: request\n", this.appendable.toString()); }
@Test public void writing_multiple_requests_are_indented() throws IOException { this.strategy.writeRequest(this.appendable, this.request); this.strategy.writeRequest(this.appendable, this.request); assertEquals("Requested: request\n\tRequested: request\n", this.appendable.toString()); }