@Test public void checkHttpMethod() throws ClientProtocolException, IOException, ODataException { final HttpGet get = new HttpGet(URI.create(getEndpoint().toString() + "/$metadata")); getHttpClient().execute(get); final ODataContext ctx = getService().getProcessor().getContext(); assertNotNull(ctx); final String httpMethod = ctx.getHttpMethod(); assertEquals("GET", httpMethod); }