DBType { public Properties getProperties() { return properties; } DBType(String dbType);  DBType(String subProtocol, String subnamePrefix); Properties getProperties(); static Properties getResourceBundleAsProperties(ResourceBundle resourceBundle); @Override int hashCode(); @Override boolean equals(Object obj); String getDriverClass(); String getCharacterSet(); String getSourceCodeTypes(); String getLanguages(); int getSourceCodeReturnType(); String getPropertiesSource(); void setProperties(Properties properties); @Override String toString();  }
@Test public void testGetPropertiesFromFile() throws Exception { System.out.println("getPropertiesFromFile"); DBType instance = new DBType(absoluteFile.getAbsolutePath()); Properties expResult = testProperties; Properties result = instance.getProperties(); Assert.assertEquals(expResult, result); }
@Test public void testGetProperties() throws Exception { System.out.println("testGetProperties"); DBType instance = new DBType("test"); Properties expResult = testProperties; System.out.println("testGetProperties: expected results " + testProperties); Properties result = instance.getProperties(); System.out.println("testGetProperties: actual results " + result); Assert.assertEquals(expResult, result); }
@Test public void testGetIncludeProperties() throws Exception { System.out.println("testGetIncludeProperties"); DBType instance = new DBType("include"); Properties expResult = includeProperties; System.out.println("testGetIncludeProperties: expected results " + includeProperties); Properties result = instance.getProperties(); System.out.println("testGetIncludeProperties: actual results " + result); Assert.assertEquals(expResult, result); }