public override void OneTimeSetup() { _taskGeneratorInstanceType = typeof(TaskGenerator); _taskGeneratorInstanceFixture = this.Create <TaskGenerator>(true); _taskGeneratorInstance = _taskGeneratorInstanceFixture ?? this.Create <TaskGenerator>(false); CurrentInstance = _taskGeneratorInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_TaskGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange TaskGenerator instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }