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