@Test
void testIsApplicationEntity() {

  TimelineEntity te = new TimelineEntity();
  te.setType(TimelineEntityType.YARN_APPLICATION.toString());
  assertTrue(ApplicationEntity.isApplicationEntity(te));
  te = null;
  assertEquals(false, ApplicationEntity.isApplicationEntity(te));
  te = new TimelineEntity();
  te.setType(TimelineEntityType.YARN_CLUSTER.toString());
  assertEquals(false, ApplicationEntity.isApplicationEntity(te));
}