@Test( expected = IllegalArgumentException.class )
public void shouldFailToParseUnknownLanguage() {

    TypeSystem typeSystem = new ExecutionContext().getValueFactories().getTypeSystem();
    parsers.parse(typeSystem, "unknown language", "This is a bogus query");
}