public override void OneTimeSetup() { _rangeAttributeRelayInstanceType = typeof(RangeAttributeRelay); _rangeAttributeRelayInstanceFixture = this.Create <RangeAttributeRelay>(true); _rangeAttributeRelayInstance = _rangeAttributeRelayInstanceFixture ?? this.Create <RangeAttributeRelay>(false); CurrentInstance = _rangeAttributeRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_RangeAttributeRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange RangeAttributeRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }