public void WhenNoProxableSubThenApplyLazyFalse()
        {
            var applier = new UseNoLazyForNoProxableApplier<ISubclassMapper>();
            var mapper = new Mock<ISubclassMapper>();

            applier.Match(typeof(MyNoProxableSub)).Should().Be.True();
            applier.Apply(typeof(MyNoProxableSub), mapper.Object);

            mapper.Verify(x => x.Lazy(false));
        }
        public void WhenNoProxableSubThenApplyLazyFalse()
        {
            var applier = new UseNoLazyForNoProxableApplier <ISubclassMapper>();
            var mapper  = new Mock <ISubclassMapper>();

            applier.Match(typeof(MyNoProxableSub)).Should().Be.True();
            applier.Apply(typeof(MyNoProxableSub), mapper.Object);

            mapper.Verify(x => x.Lazy(false));
        }
        public void WhenProxableSubThenNoMatch()
        {
            var applier = new UseNoLazyForNoProxableApplier<ISubclassMapper>();

            applier.Match(typeof(MyProxableSub)).Should().Be.False();
        }
        public void WhenProxableSubThenNoMatch()
        {
            var applier = new UseNoLazyForNoProxableApplier <ISubclassMapper>();

            applier.Match(typeof(MyProxableSub)).Should().Be.False();
        }