public void test_Validation_ModelHistory3() { ModelHistory mh = new ModelHistory(); assertTrue( mh != null ); assertEquals( false, (mh.hasRequiredAttributes()) ); Date date = new Date(2007,12,30,12,15,45,1,2,0); mh.setCreatedDate(date); assertEquals( false, (mh.hasRequiredAttributes()) ); mh.setModifiedDate(date); assertEquals( false, (mh.hasRequiredAttributes()) ); ModelCreator mc = new ModelCreator(); mc.setFamilyName("Keating"); mh.addCreator(mc); assertEquals( false, (mh.hasRequiredAttributes()) ); mh = null; }