public async Task TestDeleteById() { this.contractRepository.Setup(t => t.Delete(It.IsAny <int>())).Verifiable(); await controller.DeleteContractByID(1); this.contractRepository.VerifyAll(); }
public async Task TestDeleteById() { this.contractRepository.Setup(t => t.Delete(It.IsAny <int>())).Verifiable(); await controller.DeleteContractByID(1); this.contractRepository.VerifyAll(); }