assertEquals(connection1.getPassword(), connection2.getPassword());
}
public static IDatabaseConnection generateDatabaseConnection()
{
final IDatabaseConnection connection = new DatabaseConnection();
connection.setName(UUID.randomUUID().toString());
connection.setId(UUID.randomUUID().toString());
connection.setAccessType(DatabaseAccessType.NATIVE);
connection.setDataTablespace(UUID.randomUUID().toString());
connection.setDatabaseName(UUID.randomUUID().toString());
connection.setDatabasePort("12345");
connection.setHostname(UUID.randomUUID().toString());
connection.setIndexTablespace(UUID.randomUUID().toString());
connection.setInformixServername(UUID.randomUUID().toString());
connection.setUsername(UUID.randomUUID().toString());
connection.setPassword(UUID.randomUUID().toString());
final ObjectFactory objectFactory = ClassicEngineBoot.getInstance().getObjectFactory();
final IDatabaseDialectService dialectService = objectFactory.get(IDatabaseDialectService.class);
final DatabaseTypeHelper databaseTypeHelper = new DatabaseTypeHelper(dialectService.getDatabaseTypes());
connection.setDatabaseType(databaseTypeHelper.getDatabaseTypeByShortName("GENERIC"));
return connection;
}