public override void OneTimeSetup() { _randomDateTimeSequenceGeneratorInstanceType = typeof(RandomDateTimeSequenceGenerator); _randomDateTimeSequenceGeneratorInstanceFixture = this.Create <RandomDateTimeSequenceGenerator>(true); _randomDateTimeSequenceGeneratorInstance = _randomDateTimeSequenceGeneratorInstanceFixture ?? this.Create <RandomDateTimeSequenceGenerator>(false); CurrentInstance = _randomDateTimeSequenceGeneratorInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_RandomDateTimeSequenceGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange RandomDateTimeSequenceGenerator instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }