public override void OneTimeSetup()
 {
     _templateMethodQueryInstanceType    = typeof(TemplateMethodQuery);
     _templateMethodQueryInstanceFixture = this.Create <TemplateMethodQuery>(true);
     _templateMethodQueryInstance        = _templateMethodQueryInstanceFixture ?? this.Create <TemplateMethodQuery>(false);
     CurrentInstance = _templateMethodQueryInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
        public void AUT_TemplateMethodQuery_Constructor_Instantiation_With_Parameter_Test()
        {
            // Arrange
            var template = this.CreateType <MethodInfo>();
            TemplateMethodQuery instance          = null;
            Exception           creationException = null;

            // Act
            Action createAction = () => instance = new TemplateMethodQuery(template);

            creationException = ActionAnalyzer.GetActionException(createAction);

            // Assert
            instance.ShouldNotBeNull();
            _templateMethodQueryInstance.ShouldNotBeNull();
            _templateMethodQueryInstanceFixture.ShouldNotBeNull();
            Should.NotThrow(createAction);
        }