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);
        }
Example #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);
        }