### Question:
ContainerRequest extends InboundMessageContext implements ContainerRequestContext, Request, HttpHeaders, PropertiesDelegate { @Override public String getMethod() { return httpMethod; } ContainerRequest(
            final URI baseUri,
            final URI requestUri,
            final String httpMethod,
            final SecurityContext securityContext,
            final PropertiesDelegate propertiesDelegate,
            final Configuration configuration); @Deprecated  ContainerRequest(
            final URI baseUri,
            final URI requestUri,
            final String httpMethod,
            final SecurityContext securityContext,
            final PropertiesDelegate propertiesDelegate); RequestScopedInitializer getRequestScopedInitializer(); void setRequestScopedInitializer(final RequestScopedInitializer requestScopedInitializer); ContainerResponseWriter getResponseWriter(); void setWriter(final ContainerResponseWriter responseWriter); T readEntity(final Class<T> rawType); T readEntity(final Class<T> rawType, final Annotation[] annotations); T readEntity(final Class<T> rawType, final Type type); T readEntity(final Class<T> rawType, final Type type, final Annotation[] annotations); @Override Object getProperty(final String name); @Override Collection<String> getPropertyNames(); @Override void setProperty(final String name, final Object object); @Override void removeProperty(final String name); PropertiesDelegate getPropertiesDelegate(); @Override ExtendedUriInfo getUriInfo(); URI getBaseUri(); URI getRequestUri(); URI getAbsolutePath(); @Override void setRequestUri(final URI requestUri); @Override void setRequestUri(final URI baseUri, final URI requestUri); String getPath(final boolean decode); @Override String getMethod(); @Override void setMethod(final String method); void setMethodWithoutException(final String method); @Override SecurityContext getSecurityContext(); @Override void setSecurityContext(final SecurityContext context); @Override void setEntityStream(final InputStream input); @Override Request getRequest(); @Override void abortWith(final Response response); void inResponseProcessing(); Response getAbortResponse(); @Override Map<String, Cookie> getCookies(); @Override List<MediaType> getAcceptableMediaTypes(); @Override List<Locale> getAcceptableLanguages(); @Override Variant selectVariant(final List<Variant> variants); String getVaryValue(); @Override Response.ResponseBuilder evaluatePreconditions(final EntityTag eTag); @Override Response.ResponseBuilder evaluatePreconditions(final Date lastModified); @Override Response.ResponseBuilder evaluatePreconditions(final Date lastModified, final EntityTag eTag); @Override Response.ResponseBuilder evaluatePreconditions(); @Override List<String> getRequestHeader(final String name); @Override MultivaluedMap<String, String> getRequestHeaders();  }### Answer:
@Test public void testMethod() { ContainerRequest r = new ContainerRequest( URI.create("http: "GET", SECURITY_CONTEXT, new MapPropertiesDelegate(), null); assertEquals(r.getMethod(), "GET"); }