DefaultODataClient implements ODataClient { @Override public Object getMetaData(Map<String, String> requestProperties, ODataClientQuery builder) { throw new ODataNotImplementedException(); }  @Override void configure(ODataClientComponentsProvider clientComponentsProvider); @Override void encodeURL(boolean encode); @Override Object getEntity(Map<String, String> requestProperties, ODataClientQuery query); @Override Object performAction(Map<String, String> properties, ODataActionClientQuery actionQuery); ODataClientComponentsProvider getComponentsProvider(); @Override List<?> getEntities(Map<String, String> requestProperties, ODataClientQuery query); @Override Object getMetaData(Map<String, String> requestProperties, ODataClientQuery builder); @Override Iterable<Object> getLinks(ODataClientQuery builder); @Override Iterable<Object> getCollections(ODataClientQuery builder); @Override Object createEntity(Map<String, String> requestProperties, Object entity); @Override Object updateEntity(Map<String, String> requestProperties, ODataIdAwareEntity entity); @Override void deleteEntity(Map<String, String> requestProperties, ODataIdAwareEntity entity); @Override InputStream getInputStream(Map<String, String> requestProperties, URL url);  }
@Test(expected = ODataNotImplementedException.class) public void testGetMetaData() { client.getMetaData(emptyMap(), new BasicODataClientQuery.Builder().withEntityType(Product.class).build()); }