text: /*
   * Copyright MapStruct Authors.
   *
   * Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
   */
  package org.mapstruct.ap.test.bugs._891;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.mapstruct.ap.testutil.WithClasses;
  import org.mapstruct.ap.testutil.runner.AnnotationProcessorTestRunner;
  
  /**
   * @author Sjaak Derksen
   */
  @RunWith(AnnotationProcessorTestRunner.class)
  @WithClasses({BuggyMapper.class, Dest.class, Src.class, SrcNested.class})
  public class Issue891Test {
  
      @Test
      public void shouldNotThrowNPE() {
  
          BuggyMapper.INSTANCE.convert( new Src() );
      }
  }
  