public void GetPatient_PatientShouldBeReturned() { A.CallTo(() => _queryDispatcher.Dispatch <PatientByIdQuery, Patient>(A <PatientByIdQuery> ._)).Returns(new Patient()); var result = _patientHelper.GetPatient(A <Guid> ._); result.Should().BeOfType <Patient>(); }