public void ShouldCreateAndEvaluateTest()
        {
            SingletonDependencyResolution singletonDependencyResolution;
            object value;
            object result;

            value = 11;

            singletonDependencyResolution = new SingletonDependencyResolution(value);

            Assert.IsNotNull(singletonDependencyResolution);

            result = singletonDependencyResolution.Resolve();

            Assert.IsNotNull(result);
            Assert.AreEqual(11, result);
        }
Exemplo n.º 2
0
        public void ShouldCreateAndEvaluateTest()
        {
            SingletonDependencyResolution singletonDependencyResolution;
            object value;
            object result;

            value = 11;

            singletonDependencyResolution = new SingletonDependencyResolution(value);

            Assert.IsNotNull(singletonDependencyResolution);

            result = singletonDependencyResolution.Resolve();

            Assert.IsNotNull(result);
            Assert.AreEqual(11, result);
        }