public override void OneTimeSetup() { _propertyRequestRelayInstanceType = typeof(PropertyRequestRelay); _propertyRequestRelayInstanceFixture = this.Create <PropertyRequestRelay>(true); _propertyRequestRelayInstance = _propertyRequestRelayInstanceFixture ?? this.Create <PropertyRequestRelay>(false); CurrentInstance = _propertyRequestRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_PropertyRequestRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange PropertyRequestRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }