@Test(expected = YarnException.class)
public void testPidNotFound() throws Exception {

  CGroupsResourceCalculator calculator =
      new CGroupsResourceCalculator(
          "1234", ".", cGroupsHandler, clock, 10);
  calculator.setCGroupFilePaths();
  Assert.assertEquals("Expected exception", null, calculator);
}