* infinite loop in o.h.c.Configuration$MappingsImpl#getPhysicalColumnName().
* The same issue exists with getLogicalColumnName()
*/
public void testInvalidReferenceToQuotedTableName() {
try {
AnnotationConfiguration config = new AnnotationConfiguration();
config.addAnnotatedClass(Printer.class);
config.addAnnotatedClass(PrinterCable.class);
config.buildSessionFactory();
fail("expected MappingException to be thrown");
}
//we WANT MappingException to be thrown
catch( MappingException e ) {
assertTrue("MappingException was thrown", true);