public override void OneTimeSetup()
 {
     _noSpecimenOutputGuardInstanceType    = typeof(NoSpecimenOutputGuard);
     _noSpecimenOutputGuardInstanceFixture = this.Create <NoSpecimenOutputGuard>(true);
     _noSpecimenOutputGuardInstance        = _noSpecimenOutputGuardInstanceFixture ?? this.Create <NoSpecimenOutputGuard>(false);
     CurrentInstance = _noSpecimenOutputGuardInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
        public void AUT_NoSpecimenOutputGuard_Constructor_Instantiation_With_Parameter_Test()
        {
            // Arrange
            var builder = this.CreateType <ISpecimenBuilder>();
            NoSpecimenOutputGuard instance          = null;
            Exception             creationException = null;

            // Act
            Action createAction = () => instance = new NoSpecimenOutputGuard(builder);

            creationException = ActionAnalyzer.GetActionException(createAction);

            // Assert
            instance.ShouldNotBeNull();
            _noSpecimenOutputGuardInstance.ShouldNotBeNull();
            _noSpecimenOutputGuardInstanceFixture.ShouldNotBeNull();
            Should.NotThrow(createAction);
        }