public void CreatePatientAccessEvent_NullPatient_ThrowsArgumentException()
        {
            var patientAccessEventFactory = new PatientAccessEventFactory ();

            var patientAccessEventType = new Mock<PatientAccessEventType> ();

            patientAccessEventFactory.CreatePatientAccessEvent (
                null, patientAccessEventType.Object, "audited context decription", "some note");
        }
        public void CreatePatientAccessEvent_GivenValidArguments_CreatesAnEvent()
        {
            var patientAccessEventFactory = new PatientAccessEventFactory ();

            var patient = new Mock<Patient> ();
            var patientAccessEventType = new Mock<PatientAccessEventType> ();

            PatientAccessEvent patientAccessEvent = patientAccessEventFactory.CreatePatientAccessEvent (
                patient.Object, patientAccessEventType.Object, "audited context decription", "some note" );

            Assert.IsNotNull ( patientAccessEvent );
        }