ServiceStack.Common.Tests.FunqTests.Test2 C# (CSharp) Method

Test2() private method

private Test2 ( ) : void
return void
        public void Test2()
        {
            var container = new Container();
            var m = new TestFoo();
            container.AutoWire(m);
            Assert.Throws<ResolutionException>(() => container.Resolve<IBar>());
            Assert.IsNull(m.Bar); // FAILS HERE
        }
    }