@Test
 public void shouldAutomaticallyReadXStreamAnnotations() {
   WithAlias alias = new WithAlias();
   alias.abc = "Duh!";
   serialization.from(alias).serialize();
   assertThat(result(), is("<withAlias><def>Duh!</def></withAlias>"));
 }
  @Test
  public void shouldAutomaticallyReadXStreamAnnotationsForIncludedAttributes() {
    WithAlias alias = new WithAlias();
    alias.abc = "Duh!";

    WithAliasedAttribute attribute = new WithAliasedAttribute();
    attribute.aliased = alias;

    serialization.from(attribute).include("aliased").serialize();
    assertThat(
        result(),
        is("<withAliasedAttribute><aliased><def>Duh!</def></aliased></withAliasedAttribute>"));
  }