BoDi.Tests.DisposeTests.ContainerShouldThrowExceptionWhenDisposed C# (CSharp) Method

ContainerShouldThrowExceptionWhenDisposed() private method

private ContainerShouldThrowExceptionWhenDisposed ( ) : void
return void
        public void ContainerShouldThrowExceptionWhenDisposed()
        {
            var container = new ObjectContainer();
            container.Dispose();

            container.Resolve<IObjectContainer>();
        }