public void TestGetLocatorActionsWithoutInitializeReturnsEmptyList()
        {
            var container = new Mock <IObjectContainer>(MockBehavior.Strict);

            var repository = new ActionRepository(container.Object);

            var result = repository.GetLocatorActions();

            Assert.IsNotNull(result);
            Assert.AreEqual(0, result.Count());

            container.VerifyAll();
        }
Пример #2
0
        public void TestGetLocatorActionsWithoutInitializeReturnsEmptyList()
        {
            var container = new Mock<IObjectContainer>(MockBehavior.Strict);

            var repository = new ActionRepository(container.Object);

            var result = repository.GetLocatorActions();

            Assert.IsNotNull(result);
            Assert.AreEqual(0, result.Count());

            container.VerifyAll();
        }