### Question:
ULabeledStatement extends USimpleStatement implements LabeledStatementTree { static ULabeledStatement create(CharSequence label, UStatement statement) { return new AutoValue_ULabeledStatement(StringName.of(label), (USimpleStatement) statement); }  @Override abstract StringName getLabel(); @Override abstract USimpleStatement getStatement(); @Override Kind getKind(); @Override R accept(TreeVisitor<R, D> visitor, D data); @Override JCLabeledStatement inline(Inliner inliner); @Override Choice<Unifier> visitLabeledStatement(LabeledStatementTree node, Unifier unifier);  }### Answer:
@Test public void equality() { new EqualsTester() .addEqualityGroup(ULabeledStatement.create("foo", USkip.INSTANCE)) .addEqualityGroup(ULabeledStatement.create("bar", USkip.INSTANCE)) .addEqualityGroup(ULabeledStatement.create("bar", UBlock.create())) .testEquals(); }
@Test public void serialization() { SerializableTester.reserializeAndAssert(ULabeledStatement.create("foo", USkip.INSTANCE)); }