src/test/java/io/swagger/test/integration/responses/PrimitiveResponseTestIT.java
/**
     * verifies that the return value is automatically created
     */
verifies that the return value is automatically created
verifies that the return value is automatically created
@Test
    public void verifyGetStringResponse() throws Exception {
        Map<String, String> queryParams = new HashMap<String, String>();
        String str = client.invokeAPI("/mockResponses/primitiveStringResponse", "GET", queryParams, null, new HashMap<String, String>(), null, "application/json", null, new String[0]);
        assertEquals(str, "\"string\"");
    }
@ Test public void verifyGetStringResponse ( ) throws Exception { Map < String , String > queryParams = new HashMap < String , String > ( ) ; String str = client . invokeAPI ( "/mockResponses/primitiveStringResponse" , "GET" , queryParams , null , new HashMap < String , String > ( ) , null , "application/json" , null , new String [ 0 ] ) ; assertEquals ( str , "\"string\"" ) ; }
verifies that the return value is automatically created
verifies that the return value is automatically created