public void when_resolving_all_with_type_obviously_should_delegate_to_underlying_container()
        {
            var inner = new Mock <IWindsorContainer>(MockBehavior.Loose);
            var sut   = new CastleContainerAdapter(inner.Object);

            sut.GetAll(typeof(given_a_simple_container.Interfaze));

            inner.Verify(x => x.ResolveAll(It.Is <Type>(x1 => x1.Equals(typeof(given_a_simple_container.Interfaze)))));
        }
        public void when_resolving_all_obviously_should_delegate_to_underlying_container()
        {
            var inner = new Mock <IWindsorContainer>(MockBehavior.Loose);
            var sut   = new CastleContainerAdapter(inner.Object);

            sut.GetAll <given_a_simple_container.Interfaze>();

            inner.Verify(x => x.ResolveAll <given_a_simple_container.Interfaze>());
        }
        public void when_resolving_all_obviously_should_delegate_to_underlying_container()
        {
            var inner = new Mock<IWindsorContainer>(MockBehavior.Loose);
            var sut = new CastleContainerAdapter(inner.Object);

            sut.GetAll<given_a_simple_container.Interfaze>();

            inner.Verify(x => x.ResolveAll<given_a_simple_container.Interfaze>());
        }
        public void when_resolving_all_with_type_obviously_should_delegate_to_underlying_container()
        {
            var inner = new Mock<IWindsorContainer>(MockBehavior.Loose);
            var sut = new CastleContainerAdapter(inner.Object);

            sut.GetAll(typeof(given_a_simple_container.Interfaze));

            inner.Verify(x => x.ResolveAll(It.Is<Type>(x1 => x1.Equals(typeof (given_a_simple_container.Interfaze)))));
        }