Exemplo n.º 1
0
 public override void OneTimeSetup()
 {
     _numericSequenceGeneratorInstanceType    = typeof(NumericSequenceGenerator);
     _numericSequenceGeneratorInstanceFixture = this.Create <NumericSequenceGenerator>(true);
     _numericSequenceGeneratorInstance        = _numericSequenceGeneratorInstanceFixture ?? this.Create <NumericSequenceGenerator>(false);
     CurrentInstance = _numericSequenceGeneratorInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Exemplo n.º 2
0
        public void AUT_NumericSequenceGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            NumericSequenceGenerator instance = null;

            // Act
            var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance);

            // Assert
            instance.ShouldNotBeNull();
            exception.ShouldBeNull();
        }