public void testAddStandaloneHomework() { Assert.Null(serv.GetByDetails(hwTitl, hwDesc)); // Arrange int count = serv.All().Count(); // Act MichtavaResult res = serv.Add(entity); // Assert Assert.AreEqual(count + 1, serv.All().Count()); Assert.NotNull(serv.GetByDetails(hwTitl, hwDesc)); Assert.True(res is MichtavaSuccess); Assert.True(serv.HardDelete(entity) is MichtavaSuccess); }