public override void OneTimeSetup()
 {
     _orRequestSpecificationInstanceType    = typeof(OrRequestSpecification);
     _orRequestSpecificationInstanceFixture = this.Create <OrRequestSpecification>(true);
     _orRequestSpecificationInstance        = _orRequestSpecificationInstanceFixture ?? this.Create <OrRequestSpecification>(false);
     CurrentInstance = _orRequestSpecificationInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
        public void AUT_OrRequestSpecification_Constructor_Instantiation_With_Parameter_Test()
        {
            // Arrange
            var specifications = this.CreateType <IRequestSpecification[]>();
            OrRequestSpecification instance = null;
            Exception creationException     = null;

            // Act
            Action createAction = () => instance = new OrRequestSpecification(specifications);

            creationException = ActionAnalyzer.GetActionException(createAction);

            // Assert
            instance.ShouldNotBeNull();
            _orRequestSpecificationInstance.ShouldNotBeNull();
            _orRequestSpecificationInstanceFixture.ShouldNotBeNull();
            Should.NotThrow(createAction);
        }