示例#1
0
        public async Task TestDeleteContractObject()
        {
            Contract contract = new Contract()
            {
                Id = new Guid()
            };

            this.contractRepository.Setup(t => t.Delete(It.IsAny <Contract>())).Verifiable();

            await controller.DeleteContract(contract);

            this.contractRepository.VerifyAll();
        }