foreignKey = getForeignKey(vehicleTable, identifier("vehicle_modelyear"));
assertEquals(foreignKey.getColumnSpan(), 3);
PersistentClass vehicle = getConfiguration().getClassMapping("Vehicle");
EntityPOJOClass vechiclePojo = new EntityPOJOClass(vehicle, new Cfg2JavaTool());
assertNotNull(vechiclePojo.getDecoratedObject());
Property property = vehicle.getProperty("modelyear");
assertNotNull(property);
String generateJoinColumnsAnnotation = vechiclePojo.generateJoinColumnsAnnotation(property, cfg);