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); }
public void Verify_CommitmentApiClient_DeleteApprenticeShip_IsCalled_OnlyOnce() { CommitmentApiClient.Verify(cApiClient => cApiClient.DeleteDraftApprenticeship(CohortId, DraftApprenticeshipId, It.IsAny <DeleteDraftApprenticeshipRequest>(), It.IsAny <System.Threading.CancellationToken>()), Times.Once); }