Ejemplo n.º 1
0
        public void BuildClassWithSingleOverriddenArgument()
        {
            var expected = new TestType { Identifier = "BuildClassWithSingleOverriddenArgument" };

            var sut = new SutBuilder<TestTypeWithConstructorArguments>();
            var result = sut.AddDependency(expected, "testType").Build();

            Assert.IsNotNull(result);
            Assert.AreEqual(expected, result.TestType);
        }