示例#1
0
        public async Task TestDeleteById()
        {
            this.contractRepository.Setup(t => t.Delete(It.IsAny <int>())).Verifiable();

            await controller.DeleteContractByID(1);

            this.contractRepository.VerifyAll();
        }