コード例 #1
0
 public void Verify_CommitmentApiClient_DeleteApprenticeShip_Is_NeverCalled()
 {
     CommitmentApiClient.Verify(cApiClient => cApiClient.DeleteDraftApprenticeship(It.IsAny <long>(), It.IsAny <long>(), It.IsAny <DeleteDraftApprenticeshipRequest>(), It.IsAny <System.Threading.CancellationToken>()), Times.Never);
 }
コード例 #2
0
 public void Verify_CommitmentApiClient_DeleteApprenticeShip_IsCalled_OnlyOnce()
 {
     CommitmentApiClient.Verify(cApiClient => cApiClient.DeleteDraftApprenticeship(CohortId, DraftApprenticeshipId, It.IsAny <DeleteDraftApprenticeshipRequest>(), It.IsAny <System.Threading.CancellationToken>()), Times.Once);
 }