RequestMock implements Request { @Override public void setBody(String body) { this.body = body; }  @Override Header header(); @Override Query query(); @Override String getBody(); @Override void setBody(String body); @Override void setUrl(String routeUrl); @Override String getUrl(); @Override String pathParam(String name); @Override String getAppName(); @Override void setSendResponse(boolean value); void setAppName(String appName);  }
@Test public void testSetBody() { final RequestMock requestMock = new RequestMock(); requestMock.setBody("testBody"); assertEquals("testBody", requestMock.getBody()); }