@Test
  public void isTypeOf_voidAndPseudoVoidTypes() {
    TypeMirror voidType = typeUtils.getNoType(TypeKind.VOID);
    TypeMirror pseudoVoidType = getTypeElementFor(Void.class).asType();

    assertWithMessage("Mirror:\t" + voidType + "\nClass:\t" + Void.TYPE.getCanonicalName())
        .that(MoreTypes.isTypeOf(Void.TYPE, voidType))
        .isTrue();
    assertWithMessage("Mirror:\t" + pseudoVoidType + "\nClass:\t" + Void.TYPE.getCanonicalName())
        .that(MoreTypes.isTypeOf(Void.TYPE, pseudoVoidType))
        .isFalse();

    assertWithMessage("Mirror:\t" + voidType + "\nClass:\t" + Void.class.getCanonicalName())
        .that(MoreTypes.isTypeOf(Void.class, voidType))
        .isFalse();
    assertWithMessage("Mirror:\t" + pseudoVoidType + "\nClass:\t" + Void.class.getCanonicalName())
        .that(MoreTypes.isTypeOf(Void.class, pseudoVoidType))
        .isTrue();
  }
Tests {@link MoreTypes#isTypeOf(Class, TypeMirror)}.
common/src/test/java/com/google/auto/common/MoreTypesIsTypeOfTest.java