msg = "Testing IPerson " + newPerson;
print(msg);
String testKey = randomStrings[0].toLowerCase();
// This test should fail since the IPerson attribute exists.
IPersonTester tester1 = new ValueMissingTester(key1, randomStrings[0]);
// This test should pass; the attribute is blank.
IPersonTester tester2 = new ValueMissingTester(key2, testKey);
// This test should pass; the IPerson does not have a value for key3.
IPersonTester tester3 = new ValueMissingTester(key3, testKey);
msg = "Testing " + tester1;
assertFalse(msg, tester1.test(newPerson));
msg = "Testing " + tester2;
assertTrue(msg, tester2.test(newPerson));
msg = "Testing " + tester3;
assertTrue(msg, tester3.test(newPerson));
print("Success!");
print(CR + "***** LEAVING PAGSTester.testValueMissingTester() *****" + CR);
}