Esempio n. 1
0
 public override void OneTimeSetup()
 {
     _regularExpressionGeneratorInstanceType    = typeof(RegularExpressionGenerator);
     _regularExpressionGeneratorInstanceFixture = this.Create <RegularExpressionGenerator>(true);
     _regularExpressionGeneratorInstance        = _regularExpressionGeneratorInstanceFixture ?? this.Create <RegularExpressionGenerator>(false);
     CurrentInstance = _regularExpressionGeneratorInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Esempio n. 2
0
        public void AUT_RegularExpressionGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            RegularExpressionGenerator instance = null;

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

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