public void Test_Resolve_ShouldReturnSomeObjectForSingleton()
        {
            // Arrange
            var container = new TestFactorySingletons();

            // Act
            var fooFirst  = container.Resolve <Foo>();
            var fooSecond = container.Resolve <Foo>();

            // Assert
            Assert.IsNotNull(fooFirst);
            Assert.IsNotNull(fooSecond);
            Assert.AreEqual(fooFirst, fooSecond);
        }
        public void Test_Resolve_ShouldThrowBecouseNotRegistred()
        {
            // Arrange
            var container = new TestFactorySingletons();

            // Act/Assert
            AssertThrow <StatorUnresolvedException>(() => container.Resolve <object>());
        }