    @Test(expected = ParserAddException.class)
    public void addParserAtUnknownClass() throws Exception {

        AbstractQueryBuilderFactory factory = new SqlQueryBuilderFactory();
        factory.addRuleParserAt(testParser, Test2Parser.class);
    }