public override void OneTimeSetup() { _sByteSequenceGeneratorInstanceType = typeof(SByteSequenceGenerator); _sByteSequenceGeneratorInstanceFixture = this.Create <SByteSequenceGenerator>(true); _sByteSequenceGeneratorInstance = _sByteSequenceGeneratorInstanceFixture ?? this.Create <SByteSequenceGenerator>(false); CurrentInstance = _sByteSequenceGeneratorInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_SByteSequenceGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange SByteSequenceGenerator instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }