public override void OneTimeSetup() { _omitEnumerableParameterRequestRelayInstanceType = typeof(OmitEnumerableParameterRequestRelay); _omitEnumerableParameterRequestRelayInstanceFixture = this.Create <OmitEnumerableParameterRequestRelay>(true); _omitEnumerableParameterRequestRelayInstance = _omitEnumerableParameterRequestRelayInstanceFixture ?? this.Create <OmitEnumerableParameterRequestRelay>(false); CurrentInstance = _omitEnumerableParameterRequestRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_OmitEnumerableParameterRequestRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange OmitEnumerableParameterRequestRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }