### Question:
SqlQueryParser implements QueryParser { protected String parsePath( TokenStream tokens, TypeSystem typeSystem ) { return removeBracketsAndQuotes(tokens.consume()); }  String getLanguage(); @Override String toString(); @Override boolean equals( Object obj ); QueryCommand parseQuery( String query,
                                    TypeSystem typeSystem ); static final String LANGUAGE; }### Answer:
@Test public void shouldParsePathFromUnquotedStringConsistingOfSql92Identifiers() { String identifier = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"; assertThat(parser.parsePath(tokens(identifier), typeSystem), is(identifier)); }
@Test public void shouldParsePathFromSingleQuotedString() { assertThat(parser.parsePath(tokens("'/a/b/c/mode:something/d'"), typeSystem), is("/a/b/c/mode:something/d")); }
@Test public void shouldParsePathFromDoubleQuotedString() { assertThat(parser.parsePath(tokens("\"/a/b/c/mode:something/d\""), typeSystem), is("/a/b/c/mode:something/d")); }
@Test( expected = ParsingException.class ) public void shouldFailInParsePathIfNoMoreTokens() { parser.parsePath(tokens(" "), typeSystem); }