@Test
public void testRLParseFailure() throws Exception {

    final CharArrayBuffer buf = new CharArrayBuffer(64);
    buf.clear();
    buf.append("    ");
    try {
        this.parser.parseRequestLine(buf);
        Assert.fail();
    } catch (final ParseException e) {
        // expected
    }
    buf.clear();
    buf.append("  GET");
    try {
        this.parser.parseRequestLine(buf);
        Assert.fail();
    } catch (final ParseException e) {
        // expected
    }
    buf.clear();
    buf.append("GET /stuff");
    try {
        this.parser.parseRequestLine(buf);
        Assert.fail();
    } catch (final ParseException e) {
        // expected
    }
    buf.clear();
    buf.append("GET/stuff HTTP/1.1");
    try {
        this.parser.parseRequestLine(buf);
        Assert.fail();
    } catch (final ParseException e) {
        // expected
    }
    buf.clear();
    buf.append("GET /stuff HTTP/1.1 Oooooooooooppsie");
    try {
        this.parser.parseRequestLine(buf);
        Assert.fail();
    } catch (final ParseException e) {
        // expected
    }
}