public override void OneTimeSetup()
 {
     _specimenBuilderNodeEventArgsInstanceType    = typeof(SpecimenBuilderNodeEventArgs);
     _specimenBuilderNodeEventArgsInstanceFixture = this.Create <SpecimenBuilderNodeEventArgs>(true);
     _specimenBuilderNodeEventArgsInstance        = _specimenBuilderNodeEventArgsInstanceFixture ?? this.Create <SpecimenBuilderNodeEventArgs>(false);
     CurrentInstance = _specimenBuilderNodeEventArgsInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
        /// <summary>Raises the <see cref="GraphChanged" /> event.</summary>
        /// <param name="e">
        /// The <see cref="SpecimenBuilderNodeEventArgs" /> instance containing
        /// the event data.
        /// </param>
        protected virtual void OnGraphChanged(SpecimenBuilderNodeEventArgs e)
        {
            var handler = this.GraphChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
        public void AUT_SpecimenBuilderNodeEventArgs_Constructor_Instantiation_With_Parameter_Test()
        {
            // Arrange
            var graph = this.CreateType <ISpecimenBuilderNode>();
            SpecimenBuilderNodeEventArgs instance = null;
            Exception creationException           = null;

            // Act
            Action createAction = () => instance = new SpecimenBuilderNodeEventArgs(graph);

            creationException = ActionAnalyzer.GetActionException(createAction);

            // Assert
            instance.ShouldNotBeNull();
            _specimenBuilderNodeEventArgsInstance.ShouldNotBeNull();
            _specimenBuilderNodeEventArgsInstanceFixture.ShouldNotBeNull();
            Should.NotThrow(createAction);
        }