public override void OneTimeSetup() { _dictionaryRelayInstanceType = typeof(DictionaryRelay); _dictionaryRelayInstanceFixture = this.Create <DictionaryRelay>(true); _dictionaryRelayInstance = _dictionaryRelayInstanceFixture ?? this.Create <DictionaryRelay>(false); CurrentInstance = _dictionaryRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_DictionaryRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange DictionaryRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }