@Test public void queryTypeTest() { String sql = null; String typeQuery = instance.getTypeQuery(sql); Assert.assertNull(typeQuery); sql = " "; typeQuery = instance.getTypeQuery(sql); Assert.assertNull(typeQuery); sql = "toto"; typeQuery = instance.getTypeQuery(sql); Assert.assertNull(typeQuery); sql = "select Price from products;"; typeQuery = instance.getTypeQuery(sql); Assert.assertEquals(typeQuery, "select"); sql = " select Price from products;"; typeQuery = instance.getTypeQuery(sql); Assert.assertEquals(typeQuery, "select"); sql = " select Price from products; "; typeQuery = instance.getTypeQuery(sql); Assert.assertEquals(typeQuery, "select"); }
public String getTypeQuery(final String sql) { return genericRdbms.getTypeQuery(sql); }
MySqlRdbmsSpecifics implements RdbmsSpecifics { public String getTypeQuery(final String sql) { return genericRdbms.getTypeQuery(sql); } }
MySqlRdbmsSpecifics implements RdbmsSpecifics { public String getTypeQuery(final String sql) { return genericRdbms.getTypeQuery(sql); }  }
MySqlRdbmsSpecifics implements RdbmsSpecifics { public String getTypeQuery(final String sql) { return genericRdbms.getTypeQuery(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(); }
MySqlRdbmsSpecifics implements RdbmsSpecifics { public String getTypeQuery(final String sql) { return genericRdbms.getTypeQuery(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();  }