public void DeleteBasketUserNotInDatabase() { var mock = new Mock <IBasketRepository>(); var user = new User() { Name = "Test" }; var service = new BasketService(mock.Object); var repBasket = service.DeleteAllBasket(user); Assert.IsTrue(repBasket == false); }