@Test(expected = ODataRuntimeException.class)
public void doubleAlias() {

  final AliasQueryOption alias = (AliasQueryOption) new AliasQueryOptionImpl().setName("A");
  new UriInfoImpl()
      .addAlias(alias)
      .addAlias(alias);
}