Examples of ChangeRecordBean


Examples of com.sun.jersey.samples.jsonp.jaxb.ChangeRecordBean

     * Test check GET on the "changes" resource in "application/xml" format.
     */
    @Test
    public void testGetOnLatestChangeXMLFormat() {
        WebResource webResouce = resource();
        ChangeRecordBean lastChange = webResouce.path("changes/latest").
                accept("application/xml").get(ChangeRecordBean.class);
        assertEquals(1, lastChange.linesChanged);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.