@Test
public void getApplicationAttemptEntities() throws Exception {

  ApplicationId applicationId =
      ApplicationId.fromString("application_1234_0001");
  List<TimelineEntity> entities =
      client.getApplicationAttemptEntities(applicationId, null,
          null, 0, null);
  Assert.assertEquals(2, entities.size());
  Assert.assertEquals("mockAppAttempt2", entities.get(1).getId());
}