public override void OneTimeSetup()
 {
     _instanceMethodInstanceType    = typeof(InstanceMethod);
     _instanceMethodInstanceFixture = this.Create <InstanceMethod>(true);
     _instanceMethodInstance        = _instanceMethodInstanceFixture ?? this.Create <InstanceMethod>(false);
     CurrentInstance = _instanceMethodInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
        public void AUT_InstanceMethod_Constructor_Instantiation_With_Parameter_Test()
        {
            // Arrange
            var            instanceMethod    = this.CreateType <MethodInfo>();
            var            owner             = this.CreateType <object>();
            InstanceMethod instance          = null;
            Exception      creationException = null;

            // Act
            Action createAction = () => instance = new InstanceMethod(instanceMethod, owner);

            creationException = ActionAnalyzer.GetActionException(createAction);

            // Assert
            instance.ShouldNotBeNull();
            _instanceMethodInstance.ShouldNotBeNull();
            _instanceMethodInstanceFixture.ShouldNotBeNull();
            Should.NotThrow(createAction);
        }