*/
public static void main(String[] args)
{
// all we're checking for is that the sample doesn't throw anything.
// a real sample test might assert something more interesting.
Validation sample = new Validation();
// Use the validate method to validate an instance after
// updates.
boolean isValidAfterChanges = sample.isValidAfterChanges(args[0]);
assert !isValidAfterChanges;
// Use the VALIDATE_ON_SET option to validate an instance
// as updates are made.
boolean isValidOnTheFly = sample.isValidOnTheFly(args[0]);
assert !isValidOnTheFly;
}