BatchUnmarshaller extends AbstractUnmarshaller { @Override public Object unmarshall(ODataRequestContext requestContext) throws ODataException { LOG.info("Multipart unmarshaller invoked with {}", requestContext.getRequest()); return new ODataBatchParser(requestContext, uriParser).getODataEntity(); }  @Override int score(ODataRequestContext requestContext); @Override Object unmarshall(ODataRequestContext requestContext);  }
@Test public void testUnmarshaller() throws ODataException { ODataBatchRequestContent unmarshalledBatchRequest = (ODataBatchRequestContent) batchUnmarshaller. unmarshall(context); assertNotNull(unmarshalledBatchRequest); }