src/test/java/io/swagger/test/integration/responses/PrimitiveResponseTestIT.java
/**
     * verifies that the return value uses the schema example
     */
verifies that the return value uses the schema example
verifies that the return value uses the schema example
@org.junit.Test
    public void verifyGetStringResponseWithExample() throws Exception {
        Map<String, String> queryParams = new HashMap<String, String>();
        String str = client.invokeAPI("/mockResponses/primitiveStringResponseWithExample", "GET", queryParams, null, new HashMap<String, String>(), null, "application/json", null, new String[0]);
        assertEquals(str, "\"fun\"");
    }
@ org . junit . Test public void verifyGetStringResponseWithExample ( ) throws Exception { Map < String , String > queryParams = new HashMap < String , String > ( ) ; String str = client . invokeAPI ( "/mockResponses/primitiveStringResponseWithExample" , "GET" , queryParams , null , new HashMap < String , String > ( ) , null , "application/json" , null , new String [ 0 ] ) ; assertEquals ( str , "\"fun\"" ) ; }
verifies that the return value uses the schema example
verifies that the return value uses the schema example