assertEquals("prod_1.orders.xsd", generator.getXsdName(table));
}
@Test
public void ensureSimpleManualSqlStatementsAreHandled() {
ManualSqlStatement sql = new ManualSqlStatement("select order_id, order_date from orders");
assertEquals("orders.xsd", generator.getXsdName(sql));
sql = new ManualSqlStatement("select order_id, order_date from orders where order_id is not null");
assertEquals("orders.xsd", generator.getXsdName(sql));
sql = new ManualSqlStatement("SELECT order_id, order_date\nFROM orders\nWHERE order_id IS NOT NULL");
assertEquals("orders.xsd", generator.getXsdName(sql));
sql = new ManualSqlStatement("SELECT order_id, order_date\nFROM orders\nWHERE order_id IN\n" +
"(SELECT order_id FROM pending_orders)");
assertEquals("orders.xsd", generator.getXsdName(sql));
generator = new XsdNameGenerator("prod", quotes);
sql = new ManualSqlStatement("select order_id, order_date from orders");
assertEquals("prod.orders.xsd", generator.getXsdName(sql));
}