public override void OneTimeSetup()
 {
     _compositeSpecimenCommandInstanceType    = typeof(CompositeSpecimenCommand);
     _compositeSpecimenCommandInstanceFixture = this.Create <CompositeSpecimenCommand>(true);
     _compositeSpecimenCommandInstance        = _compositeSpecimenCommandInstanceFixture ?? this.Create <CompositeSpecimenCommand>(false);
     CurrentInstance = _compositeSpecimenCommandInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
        public void AUT_CompositeSpecimenCommand_Constructor_Instantiation_With_Parameter_Test()
        {
            // Arrange
            var commands = this.CreateType <IEnumerable <ISpecimenCommand> >();
            CompositeSpecimenCommand instance = null;
            Exception creationException       = null;

            // Act
            Action createAction = () => instance = new CompositeSpecimenCommand(commands);

            creationException = ActionAnalyzer.GetActionException(createAction);

            // Assert
            instance.ShouldNotBeNull();
            _compositeSpecimenCommandInstance.ShouldNotBeNull();
            _compositeSpecimenCommandInstanceFixture.ShouldNotBeNull();
            Should.NotThrow(createAction);
        }