public override void OneTimeSetup() { _modestConstructorQueryInstanceType = typeof(ModestConstructorQuery); _modestConstructorQueryInstanceFixture = this.Create <ModestConstructorQuery>(true); _modestConstructorQueryInstance = _modestConstructorQueryInstanceFixture ?? this.Create <ModestConstructorQuery>(false); CurrentInstance = _modestConstructorQueryInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_ModestConstructorQuery_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange ModestConstructorQuery instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }