public void TestGetValidationComparersWithoutInitializeReturnsEmptyList() { var container = new Mock <IObjectContainer>(MockBehavior.Strict); var repository = new ActionRepository(container.Object); var result = repository.GetComparisonTypes(); Assert.IsNotNull(result); Assert.AreEqual(0, result.Count()); container.VerifyAll(); }
public void TestGetValidationComparersWithoutInitializeReturnsEmptyList() { var container = new Mock<IObjectContainer>(MockBehavior.Strict); var repository = new ActionRepository(container.Object); var result = repository.GetComparisonTypes(); Assert.IsNotNull(result); Assert.AreEqual(0, result.Count()); container.VerifyAll(); }