public async Task CanDeleteBid() { await _auctionService.InsertBid(new Bid { CustomerId = "CanDeleteBid" }); var bid = _bidRepository.Table.Where(x => x.CustomerId == "CanDeleteBid").First(); await _auctionService.DeleteBid(bid); var deleted = _bidRepository.Table.Where(x => x.CustomerId == "CanDeleteBid").FirstOrDefault(); Assert.AreEqual(null, deleted); }