use of org.apache.cxf.jaxrs.resources.BookSuperClass in project cxf by apache.
the class JAXRSClientFactoryBeanTest method testBookAndBridgeMethods.
@Test
public void testBookAndBridgeMethods() throws Exception {
SuperBookStore superBookResource = JAXRSClientFactory.create("http://localhost:9000", SuperBookStore.class);
assertNotNull(superBookResource);
Book book = ((BookSuperClass) superBookResource).getNewBook("id4", true);
assertNotNull(book);
SuperBook superBook = (SuperBook) superBookResource.getNewBook("id4", true);
assertNotNull(superBook);
}
Aggregations