Package de.chucknorris.client.chucknorristrayicon.model

Examples of de.chucknorris.client.chucknorristrayicon.model.IcndbResponse


        String response = this.citationProducer.serverCall(URL);
        LOG.info(response);
        assertNotNull(response);
       
        Gson gsonParser = new Gson();
        IcndbResponse icndbResponse = gsonParser.fromJson(response, IcndbResponse.class);
       
        assertNotNull(icndbResponse);
        assertTrue(icndbResponse.getValue() instanceof IcndbValue);
    }
View Full Code Here


//       
//    }
   
    @Test
    public void testCreateIcndbResponse(){
        IcndbResponse createIcndbResponse = this.controller.createIcndbResponse(GSON_TEST);
       
        assertNotNull(createIcndbResponse);
        assertTrue(createIcndbResponse.isSuccess());
        LOG.info("ListType: {}", createIcndbResponse.getValue().getCategories().getClass().getName());
        LOG.info("Result: {}", createIcndbResponse);
    }
View Full Code Here

TOP

Related Classes of de.chucknorris.client.chucknorristrayicon.model.IcndbResponse

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.