### Question:
SqlQueryParser implements QueryParser { protected String removeBracketsAndQuotes( String text ) { return removeBracketsAndQuotes(text, true); }  String getLanguage(); @Override String toString(); @Override boolean equals( Object obj ); QueryCommand parseQuery( String query,
                                    TypeSystem typeSystem ); static final String LANGUAGE; }### Answer:
@Test public void shouldRemoveBracketsAndQuotes() { assertThat(parser.removeBracketsAndQuotes("string"), is("string")); assertThat(parser.removeBracketsAndQuotes("[string]"), is("string")); assertThat(parser.removeBracketsAndQuotes("'string'"), is("string")); assertThat(parser.removeBracketsAndQuotes("\"string\""), is("string")); assertThat(parser.removeBracketsAndQuotes("word one and two"), is("word one and two")); assertThat(parser.removeBracketsAndQuotes("[word one and two]"), is("word one and two")); assertThat(parser.removeBracketsAndQuotes("'word one and two'"), is("word one and two")); assertThat(parser.removeBracketsAndQuotes("\"word one and two\""), is("word one and two")); }