public override void OneTimeSetup()
 {
     _compositeCustomizationInstanceType    = typeof(CompositeCustomization);
     _compositeCustomizationInstanceFixture = this.Create <CompositeCustomization>(true);
     _compositeCustomizationInstance        = _compositeCustomizationInstanceFixture ?? this.Create <CompositeCustomization>(false);
     CurrentInstance = _compositeCustomizationInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
        public void AUT_CompositeCustomization_Constructor_Instantiation_With_Parameter_Test()
        {
            // Arrange
            var customizations = this.CreateType <IEnumerable <ICustomization> >();
            CompositeCustomization instance = null;
            Exception creationException     = null;

            // Act
            Action createAction = () => instance = new CompositeCustomization(customizations);

            creationException = ActionAnalyzer.GetActionException(createAction);

            // Assert
            instance.ShouldNotBeNull();
            _compositeCustomizationInstance.ShouldNotBeNull();
            _compositeCustomizationInstanceFixture.ShouldNotBeNull();
            Should.NotThrow(createAction);
        }