@Test(expected = EntityProviderException.class) public void testServiceDocumentWithInvalidStructure() throws EntityProviderException { JsonServiceDocumentConsumer parser = new JsonServiceDocumentConsumer(); InputStream in = ClassLoader.class.getResourceAsStream("/invalidSvcDocJson2.json"); parser.parseJson(in); }
public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); }
JsonServiceDocumentConsumer { public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); } }
JsonServiceDocumentConsumer { public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); }  }
JsonServiceDocumentConsumer { public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); }  ServiceDocumentImpl parseJson(final InputStream in); }
JsonServiceDocumentConsumer { public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); }  ServiceDocumentImpl parseJson(final InputStream in);  }