Package com.thoughtworks.inproctester.core

Examples of com.thoughtworks.inproctester.core.InProcResponseWrapper


        headers.put("Content-Type", "text/plain");

        URI uri = new URI("http://localhost/");
        InProcRequest request = new TestRequest("POST", uri, "POST body", headers);

        InProcResponseWrapper response = new InProcResponseWrapper(httpAppTester.getResponses(request));

        assertThat(response.getContent(), is("POST body"));
    }
View Full Code Here


        headers.put("Content-Type", "text/plain");

        URI uri = new URI("http://localhost/");
        InProcRequest request = new TestRequest("PUT", uri, "PUT body", headers);

        InProcResponseWrapper response = new InProcResponseWrapper(httpAppTester.getResponses(request));

        assertThat(response.getContent(), is("PUT body"));
    }
View Full Code Here

TOP

Related Classes of com.thoughtworks.inproctester.core.InProcResponseWrapper

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.