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",