### Question:
UInstanceOf extends UExpression { public static UInstanceOf create(UExpression expression, UTree<?> type) { return new AutoValue_UInstanceOf(expression, type); }  static UInstanceOf create(UExpression expression, UTree<?> type); abstract UExpression getExpression(); abstract UTree<?> getType(); @Override R accept(TreeVisitor<R, D> visitor, D data); @Override Kind getKind(); @Override JCInstanceOf inline(Inliner inliner); @Override @Nullable Choice<Unifier> visitInstanceOf(InstanceOfTree instanceOf, @Nullable Unifier unifier);  }### Answer:
@Test public void equality() { new EqualsTester() .addEqualityGroup( UInstanceOf.create(UFreeIdent.create("o"), UClassIdent.create("java.lang.String"))) .addEqualityGroup( UInstanceOf.create(UFreeIdent.create("o"), UClassIdent.create("java.lang.Integer"))) .testEquals(); }
@Test public void serialization() { SerializableTester.reserializeAndAssert( UInstanceOf.create(UFreeIdent.create("o"), UClassIdent.create("java.lang.String"))); }