public override void OneTimeSetup() { _stringSeedRelayInstanceType = typeof(StringSeedRelay); _stringSeedRelayInstanceFixture = this.Create <StringSeedRelay>(true); _stringSeedRelayInstance = _stringSeedRelayInstanceFixture ?? this.Create <StringSeedRelay>(false); CurrentInstance = _stringSeedRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_StringSeedRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange StringSeedRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }