Esempio n. 1
0
 public override void OneTimeSetup()
 {
     _typeGeneratorInstanceType    = typeof(TypeGenerator);
     _typeGeneratorInstanceFixture = this.Create <TypeGenerator>(true);
     _typeGeneratorInstance        = _typeGeneratorInstanceFixture ?? this.Create <TypeGenerator>(false);
     CurrentInstance = _typeGeneratorInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Esempio n. 2
0
        public void AUT_TypeGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            TypeGenerator instance = null;

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

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