@Test
public void testCreatedInstanceConfigured() {

  ResourceCalculatorProcessTree tree;
  Configuration conf = new Configuration();
  tree = ResourceCalculatorProcessTree.getResourceCalculatorProcessTree("1", EmptyProcessTree.class, conf);
  assertNotNull(tree);
  assertThat(tree.getConf(), sameInstance(conf));
}