public override void OneTimeSetup() { _enumerableRelayInstanceType = typeof(EnumerableRelay); _enumerableRelayInstanceFixture = this.Create <EnumerableRelay>(true); _enumerableRelayInstance = _enumerableRelayInstanceFixture ?? this.Create <EnumerableRelay>(false); CurrentInstance = _enumerableRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_EnumerableRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange EnumerableRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }