public void PatientRecordAuditTest() { PatientRecordAuditHelper helper = new PatientRecordAuditHelper( new DicomAuditSource("testApp", "Site", AuditSourceTypeCodeEnum.ApplicationServerProcessTierInMultiTierSystem), EventIdentificationTypeEventOutcomeIndicator.Success, EventIdentificationTypeEventActionCode.C); helper.AddUserParticipant(new AuditPersonActiveParticipant("testUser", "test@test", "Test Name")); helper.AddPatientParticipantObject(new AuditPatientParticipantObject("id1234", "Test Patient")); string output = helper.Serialize(true); Assert.IsNotEmpty(output); string failure; bool result = helper.Verify(out failure); Assert.IsTrue(result, failure); }