public void DeleteRepair_WhenRepairIsFound_RemovesRepair() { var vehicleId = 1; var repair = new Repair { Description = "Wash", Details = "Washed and waxed car", Cost = 5, VehicleId = vehicleId, RepairDate = DateTime.Today }; var result = _repairService.SaveRepair(repair); var orgCount = _repairService.GetAllByVehicleId(vehicleId).Count(); _repairService.DeleteRepair(result.Id); Assert.NotEqual(orgCount, _repairService.GetAllByVehicleId(vehicleId).Count()); }