public override void OneTimeSetup() { _fieldRequestRelayInstanceType = typeof(FieldRequestRelay); _fieldRequestRelayInstanceFixture = this.Create <FieldRequestRelay>(true); _fieldRequestRelayInstance = _fieldRequestRelayInstanceFixture ?? this.Create <FieldRequestRelay>(false); CurrentInstance = _fieldRequestRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_FieldRequestRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange FieldRequestRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }