@Test public void testPipelineWithTwoTransformers() throws Exception { HttpAction<HttpGet> action = get("/test.two"); assertEquals(200, action.getResponse().getStatusLine().getStatusCode()); assertEquals("THIS IS BAR", action.getResponseContent()); }
@Test public void testPipelineWithOneTransformer() throws Exception { HttpAction<HttpGet> action = get("/test.one"); assertEquals(200, action.getResponse().getStatusLine().getStatusCode()); assertEquals("this is bar", action.getResponseContent()); }