public override void OneTimeSetup() { _listRelayInstanceType = typeof(ListRelay); _listRelayInstanceFixture = this.Create <ListRelay>(true); _listRelayInstance = _listRelayInstanceFixture ?? this.Create <ListRelay>(false); CurrentInstance = _listRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_ListRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange ListRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }