@Test
public void testClassIdFileContentParsing() {

  conf.setBoolean(YarnConfiguration.NM_RECOVERY_ENABLED, false);
  TrafficController trafficController = new TrafficController(conf,
      privilegedOperationExecutorMock);
  //Verify that classid file contents are parsed correctly
  //This call strips the QDISC prefix and returns the classid asociated with
  //the container
  int parsedClassId = trafficController.getClassIdFromFileContents
      (TEST_CLASS_ID_DECIMAL_STR);
  Assert.assertEquals(TEST_CLASS_ID, parsedClassId);
}