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