Esempio n. 1
0
 public void AUT_TypeGenerator_Is_Instance_Present_Test()
 {
     // Assert
     _typeGeneratorInstanceType.ShouldNotBeNull();
     _typeGeneratorInstance.ShouldNotBeNull();
     _typeGeneratorInstanceFixture.ShouldNotBeNull();
     CurrentInstance.ShouldNotBeNull();
 }
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();
        }