@Test
public void test200(){

    StringHttpClient http = new StringHttpClient(new StatusCodeReplyHttpAsyncEngine());
    try{
        http.request(Requests.get("200")).await();
        http.request(Requests.get("201")).await();
        http.request(Requests.get("202")).await();
        http.request(Requests.get("203")).await();
        http.request(Requests.get("204")).await();
        http.request(Requests.get("205")).await();
        http.request(Requests.get("206")).await();
    }catch (Exception ex){
        fail("No exception should have been thrown");
    }
    try{
        http.request(Requests.get("404")).await();
    }catch (HttpException ex){
        assertEquals(404, ex.getStatusCode());
    }catch (Exception ex){
        fail("An HttpException exception should have been thrown");
    }
}