public override void OneTimeSetup()
 {
     _exactTypeSpecificationInstanceType    = typeof(ExactTypeSpecification);
     _exactTypeSpecificationInstanceFixture = this.Create <ExactTypeSpecification>(true);
     _exactTypeSpecificationInstance        = _exactTypeSpecificationInstanceFixture ?? this.Create <ExactTypeSpecification>(false);
     CurrentInstance = _exactTypeSpecificationInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
        public void AUT_ExactTypeSpecification_Constructor_Instantiation_With_Parameter_Test()
        {
            // Arrange
            var type = this.CreateType <Type>();
            ExactTypeSpecification instance = null;
            Exception creationException     = null;

            // Act
            Action createAction = () => instance = new ExactTypeSpecification(type);

            creationException = ActionAnalyzer.GetActionException(createAction);

            // Assert
            instance.ShouldNotBeNull();
            _exactTypeSpecificationInstance.ShouldNotBeNull();
            _exactTypeSpecificationInstanceFixture.ShouldNotBeNull();
            Should.NotThrow(createAction);
        }