protected void setUpAfterInjection() throws Exception {
dbHelper.deleteAll("MEANINGFUL_FK");
}
public void testValidateForSave1() throws Exception {
MeaningfulFK testObject = context.newObject(MeaningfulFK.class);
ValidationResult validation = new ValidationResult();
testObject.validateForSave(validation);
assertTrue(
"Must fail validation due to missing required relationship",
validation.hasFailures());
assertEquals(
"Must fail validation due to missing required relationship",