@Test
public void testTimelineSchemaCreation() throws Exception {

  Configuration conf = new Configuration();
  conf.set(YarnConfiguration.TIMELINE_SERVICE_SCHEMA_CREATOR_CLASS,
      "org.apache.hadoop.yarn.server.timelineservice.storage" +
          ".DummyTimelineSchemaCreator");
  TimelineSchemaCreator timelineSchemaCreator = new TimelineSchemaCreator();
  Assert.assertEquals(0, timelineSchemaCreator
      .createTimelineSchema(new String[]{}, conf));
}