public override void OneTimeSetup() { _int16SequenceGeneratorInstanceType = typeof(Int16SequenceGenerator); _int16SequenceGeneratorInstanceFixture = this.Create <Int16SequenceGenerator>(true); _int16SequenceGeneratorInstance = _int16SequenceGeneratorInstanceFixture ?? this.Create <Int16SequenceGenerator>(false); CurrentInstance = _int16SequenceGeneratorInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_Int16SequenceGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange Int16SequenceGenerator instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }