@Test
public void testAddFileProvidesCanBeDeclaredAfterRequire() throws Exception {

    final ClosureRequireDependencyManager.Node node = _depManager.addFile("xb", "goog.require('3a'); goog.provide('xb');",
        Collections.<String>emptySet());
    Assert.assertEquals("xb", node.id);
    assertTrue(node.dependencyIds.contains("3a"));
}