public void Test(Type type, string methodName)
        {
            var testClass = this.analyzer.Resolve(type);

            var testMethod = (methodName != ConstructorInfo.ConstructorName)
                ? testClass.GetMethods().Single(m => m.Inner.Name == methodName)
                : testClass.GetConstructors().Single();

            var strategy = new TestableCodeGeneratedMethodsSelectionStrategy();
            Assert.IsTrue(strategy.ShouldSelect(testMethod, null));
        }
        public void Test(Type type, string methodName)
        {
            var testClass = this.analyzer.Resolve(type);

            var testMethod = (methodName != ConstructorInfo.ConstructorName)
                ? testClass.GetMethods().Single(m => m.Inner.Name == methodName)
                : testClass.GetConstructors().Single();

            var strategy = new TestableCodeGeneratedMethodsSelectionStrategy();

            Assert.IsTrue(strategy.ShouldSelect(testMethod, null));
        }