@Test public void removeCommentTest() { String sql = null; String removeComment = instance.removeComment(sql); Assert.assertNull(removeComment); sql = " "; removeComment = instance.removeComment(sql); Assert.assertEquals(removeComment, ""); sql = "toto"; removeComment = instance.removeComment(sql); Assert.assertEquals(removeComment, "toto"); sql = "select Price from products;"; removeComment = instance.removeComment(sql); Assert.assertEquals(removeComment, "select Price from products;"); sql = " select Price from products;"; removeComment = instance.removeComment(sql); Assert.assertEquals(removeComment, "select Price from products;"); sql = " select Price from products; "; removeComment = instance.removeComment(sql); Assert.assertEquals(removeComment, "select Price from products;"); }
public String removeComment(final String sql) { return genericRdbms.removeComment(sql); }
Db2RdbmsSpecifics implements RdbmsSpecifics { public String removeComment(final String sql) { return genericRdbms.removeComment(sql); } }
Db2RdbmsSpecifics implements RdbmsSpecifics { public String removeComment(final String sql) { return genericRdbms.removeComment(sql); }  }
Db2RdbmsSpecifics implements RdbmsSpecifics { public String removeComment(final String sql) { return genericRdbms.removeComment(sql); }  boolean isRdbms(final String classType); DataRdbms getData(final Object object); String getTypeQuery(final String sql); int beginQuery(String sql, int index); String removeComment(final String sql); boolean isCaseSensitive(); }
Db2RdbmsSpecifics implements RdbmsSpecifics { public String removeComment(final String sql) { return genericRdbms.removeComment(sql); }  boolean isRdbms(final String classType); DataRdbms getData(final Object object); String getTypeQuery(final String sql); int beginQuery(String sql, int index); String removeComment(final String sql); boolean isCaseSensitive();  }