Package com.sun.jersey.samples.springannotations.model

Examples of com.sun.jersey.samples.springannotations.model.Item


     * a valid response.
     */
    @Test
    public void doTestJerseyAutowired() {
        WebResource webResource = resource();
        Item item = webResource.path("jersey-autowired").accept(MediaType.APPLICATION_XML)
                .get(Item.class);
        assertEquals("Method: doTestJerseyAutowired \nMessage: Returned item's value " +
                " does not match the expected one.", "foo", item.getValue());
    }
View Full Code Here

TOP

Related Classes of com.sun.jersey.samples.springannotations.model.Item

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.