Package com.google.sitebricks.example.RestfulWebServiceWithGenerics

Examples of com.google.sitebricks.example.RestfulWebServiceWithGenerics.Person


*/
@Test(suiteName = AcceptanceTest.SUITE)
public class RestfulWebServiceWithGenericsAcceptanceTest {

  public void whatWasPostedIsReturnedAsResponse() {
    List<Person> personList = Lists.newArrayList(new Person("John Smith"));

    WebResponse response = createInjector()
            .getInstance(Web.class)
            .clientOf(AcceptanceTest.baseUrl() + "/serviceWithGenerics")
            .transports(new TypeLiteral<List<Person>>() { })
View Full Code Here

TOP

Related Classes of com.google.sitebricks.example.RestfulWebServiceWithGenerics.Person

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.