ClosureRequireDependencyManager { public void validateGraph() { for (String moduleId : _modules.keySet()) { detectCyle(moduleId, moduleId, new LinkedHashSet<String>()); } }  @Nonnull Node addFile(@Nonnull String path, @Nonnull File javascriptFile, @Nonnull Set<String> notMinimized); @Nonnull Node addFile(@Nonnull String path, @Nonnull String javascript, @Nonnull Set<String> notMinimized); Collection<Node> getTransitiveDependenciesFor(String moduleId, boolean includeSelf); Set<String> getAllModuleIds(); Node getNode(String moduleId); void validateGraph();  }
@Test public void testValidateGraph() throws Exception { _depManager.validateGraph(); }