Exemplo n.º 1
0
 public void AUT_OmitOnRecursionBehavior_Is_Instance_Present_Test()
 {
     // Assert
     _omitOnRecursionBehaviorInstanceType.ShouldNotBeNull();
     _omitOnRecursionBehaviorInstance.ShouldNotBeNull();
     _omitOnRecursionBehaviorInstanceFixture.ShouldNotBeNull();
     CurrentInstance.ShouldNotBeNull();
 }
Exemplo n.º 2
0
        public void AUT_OmitOnRecursionBehavior_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            OmitOnRecursionBehavior instance = null;

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

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