BoDi.Tests.ObjectCreationTests.ShouldCreateObjectOnFirstResolve C# (CSharp) Method

ShouldCreateObjectOnFirstResolve() private method

private ShouldCreateObjectOnFirstResolve ( ) : void
return void
        public void ShouldCreateObjectOnFirstResolve()
        {
            // given

            // when
            var obj = container.Resolve<IInterface1>();

            // then

            Assert.IsNotNull(obj);
            CollectionAssert.AreEquivalent(new object[] { obj }, calledConstructors);
        }