diff --git a/Test.LightweightIocContainer/IocContainerTest.cs b/Test.LightweightIocContainer/IocContainerTest.cs index 3060668..444c666 100644 --- a/Test.LightweightIocContainer/IocContainerTest.cs +++ b/Test.LightweightIocContainer/IocContainerTest.cs @@ -71,8 +71,8 @@ namespace Test.LightweightIocContainer [UsedImplicitly] private class TestWithFoo : ITest { - public TestWithFoo(IFoo foo) => Foo = foo; - public IFoo Foo { get; } + public TestWithFoo(IFoo testFoo) => TestFoo = testFoo; + public IFoo TestFoo { get; } } [UsedImplicitly] @@ -329,7 +329,7 @@ namespace Test.LightweightIocContainer ITest test = _iocContainer.Resolve("testName"); Assert.IsInstanceOf(test); - Assert.AreSame(foo, ((TestWithFoo) test).Foo); + Assert.AreSame(foo, ((TestWithFoo) test).TestFoo); } [Test]