public override void OneTimeSetup() { _arrayRelayInstanceType = typeof(ArrayRelay); _arrayRelayInstanceFixture = this.Create <ArrayRelay>(true); _arrayRelayInstance = _arrayRelayInstanceFixture ?? this.Create <ArrayRelay>(false); CurrentInstance = _arrayRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_ArrayRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange ArrayRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }