public void CountTestNotNull() { // Act int result = titleRepository.Count(); // Assert Assert.IsTrue(result >= 0, "Unable to count properly"); }
public void FindAllTest() { // Arrange var expected = titleRepository.Count(); // Act var result = titleService.FindAllTitles().Count; // Assert Assert.AreEqual(expected, result); }