### Question:
RequestImpl implements Request { public String getMethod() { return m.get(Message.HTTP_REQUEST_METHOD).toString(); } RequestImpl(Message m); Variant selectVariant(List<Variant> vars); ResponseBuilder evaluatePreconditions(EntityTag eTag); ResponseBuilder evaluatePreconditions(Date lastModified); ResponseBuilder evaluatePreconditions(Date lastModified, EntityTag eTag); String getMethod(); ResponseBuilder evaluatePreconditions();  }### Answer:
@Test public void testGetMethod() { assertEquals("Wrong method", "GET", new RequestImpl(m).getMethod()); }