@Test
public void testCreatePreemptedContainerStatus() {

  ContainerStatus cd = SchedulerUtils.createPreemptedContainerStatus(
      ContainerId.newContainerId(ApplicationAttemptId.newInstance(
        ApplicationId.newInstance(System.currentTimeMillis(), 1), 1), 1), "x");
  Assert.assertEquals(ContainerExitStatus.PREEMPTED, cd.getExitStatus());
}