public override void OneTimeSetup() { _randomCharSequenceGeneratorInstanceType = typeof(RandomCharSequenceGenerator); _randomCharSequenceGeneratorInstanceFixture = this.Create <RandomCharSequenceGenerator>(true); _randomCharSequenceGeneratorInstance = _randomCharSequenceGeneratorInstanceFixture ?? this.Create <RandomCharSequenceGenerator>(false); CurrentInstance = _randomCharSequenceGeneratorInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_RandomCharSequenceGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange RandomCharSequenceGenerator instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }