### Question:
ResponseBuilderImpl extends ResponseBuilder implements Cloneable { public ResponseBuilder entity(Object e) { entity = e; return this; } ResponseBuilderImpl(); private  ResponseBuilderImpl(ResponseBuilderImpl copy); Response build(); ResponseBuilder status(int statusCode); ResponseBuilder status(int statusCode, String reason); ResponseBuilder entity(Object e); ResponseBuilder type(MediaType type); ResponseBuilder type(String type); @Override ResponseBuilder language(Locale locale); ResponseBuilder language(String language); ResponseBuilder location(URI loc); ResponseBuilder contentLocation(URI location); ResponseBuilder tag(EntityTag tag); ResponseBuilder tag(String tag); ResponseBuilder lastModified(Date date); ResponseBuilder cacheControl(CacheControl cacheControl); @Override ResponseBuilder expires(Date date); @Override ResponseBuilder cookie(NewCookie... cookies); ResponseBuilder header(String name, Object value); @Override ResponseBuilder variant(Variant variant); @Override ResponseBuilder variants(List<Variant> variants); @Override ResponseBuilder clone(); @Override ResponseBuilder allow(String... methods); @Override ResponseBuilder allow(Set<String> methods); @Override ResponseBuilder encoding(String encoding); @Override ResponseBuilder entity(Object ent, Annotation[] anns); @Override ResponseBuilder link(URI href, String rel); @Override ResponseBuilder link(String href, String rel); @Override ResponseBuilder links(Link... links); @Override ResponseBuilder replaceAll(MultivaluedMap<String, Object> map); @Override ResponseBuilder variants(Variant... variants);  }### Answer:
@Test public void testEntity() throws Exception { MetadataMap<String, Object> m = new MetadataMap<>(); checkBuild(Response.ok().entity("Hello").build(), 200, "Hello", m); }