public void Then_GetLearner_GetCertificate_GetEpaoStandards_AreCalledOnce() { LearnerRepositoryMock.Verify(repo => repo.Get(_request.Uln, _request.StandardCode), Times.Once()); CertificateRepositoryMock.Verify(repo => repo.GetCertificate(_request.Uln, _request.StandardCode), Times.Once()); StandardServiceMock.Verify(service => service.GetEpaoRegisteredStandards("99999999"), Times.Once()); }
public void ThenGetEpaoRegisteredStandardsIsNotCalled() { StandardServiceMock.Verify(service => service.GetEpaoRegisteredStandards("99999999"), Times.Never()); }