// Bug #1714476 (DB copy uses wrong case for table names): When the
// catalog/schema/object names come from the source session, don't mess
// with the case, as the case is provided by the driver for the existing
// table, and doesn't need to be fixed.
public void testGetQualifiedObjectName() throws SQLException {
ISQLDatabaseMetaData md = createNiceMock(ISQLDatabaseMetaData.class);
expect(md.getCatalogSeparator()).andReturn(".");
expect(md.supportsCatalogsInTableDefinitions()).andReturn(true);
expect(md.supportsSchemasInTableDefinitions()).andReturn(true);
replay(md);
ISession session = createNiceMock(ISession.class);
expect(session.getMetaData()).andReturn(md).anyTimes();
replay(session);
String catalog = "TestCatalog";