Exemplo n.º 1
0
 public override void OneTimeSetup()
 {
     _decimalSequenceGeneratorInstanceType    = typeof(DecimalSequenceGenerator);
     _decimalSequenceGeneratorInstanceFixture = this.Create <DecimalSequenceGenerator>(true);
     _decimalSequenceGeneratorInstance        = _decimalSequenceGeneratorInstanceFixture ?? this.Create <DecimalSequenceGenerator>(false);
     CurrentInstance = _decimalSequenceGeneratorInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Exemplo n.º 2
0
        public void AUT_DecimalSequenceGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            DecimalSequenceGenerator instance = null;

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

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