@Test
public void testFindTransitiveDependenciesFor() throws Exception {

    ClosureRequireDependencyManager.Node node = _depManager.addFile("xb", "goog.provide('xb');", Collections.singleton("xb"));
    Assert.assertEquals("xb", node.id);
    assertFalse(node.isMinimized);
    assertTrue(node.dependencyIds.isEmpty());
    node = _depManager.addFile("xc", "goog.provide('xc');", Collections.singleton("xb"));
    Assert.assertEquals("xc", node.id);
    assertTrue(node.isMinimized);
    assertTrue(node.dependencyIds.isEmpty());
}