public override void OneTimeSetup() { _seedIgnoringRelayInstanceType = typeof(SeedIgnoringRelay); _seedIgnoringRelayInstanceFixture = this.Create <SeedIgnoringRelay>(true); _seedIgnoringRelayInstance = _seedIgnoringRelayInstanceFixture ?? this.Create <SeedIgnoringRelay>(false); CurrentInstance = _seedIgnoringRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_SeedIgnoringRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange SeedIgnoringRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }