@Test public void testResolve_emptyInput_verbose() { List<ClassPathEntry> classPath = classPathBuilder.resolve(ImmutableList.of(), false).getClassPath(); Truth.assertThat(classPath).isEmpty(); }
public ClassPathResult resolve(List<Artifact> artifacts, boolean full) { DependencyGraph result; if (full) { result = dependencyGraphBuilder.buildFullDependencyGraph(artifacts); } else { result = dependencyGraphBuilder.buildVerboseDependencyGraph(artifacts); } return mediate(result); }
ClassPathBuilder { public ClassPathResult resolve(List<Artifact> artifacts, boolean full) { DependencyGraph result; if (full) { result = dependencyGraphBuilder.buildFullDependencyGraph(artifacts); } else { result = dependencyGraphBuilder.buildVerboseDependencyGraph(artifacts); } return mediate(result); } }
ClassPathBuilder { public ClassPathResult resolve(List<Artifact> artifacts, boolean full) { DependencyGraph result; if (full) { result = dependencyGraphBuilder.buildFullDependencyGraph(artifacts); } else { result = dependencyGraphBuilder.buildVerboseDependencyGraph(artifacts); } return mediate(result); } ClassPathBuilder();  ClassPathBuilder(DependencyGraphBuilder dependencyGraphBuilder); }
ClassPathBuilder { public ClassPathResult resolve(List<Artifact> artifacts, boolean full) { DependencyGraph result; if (full) { result = dependencyGraphBuilder.buildFullDependencyGraph(artifacts); } else { result = dependencyGraphBuilder.buildVerboseDependencyGraph(artifacts); } return mediate(result); } ClassPathBuilder();  ClassPathBuilder(DependencyGraphBuilder dependencyGraphBuilder); ClassPathResult resolve(List<Artifact> artifacts, boolean full); }
ClassPathBuilder { public ClassPathResult resolve(List<Artifact> artifacts, boolean full) { DependencyGraph result; if (full) { result = dependencyGraphBuilder.buildFullDependencyGraph(artifacts); } else { result = dependencyGraphBuilder.buildVerboseDependencyGraph(artifacts); } return mediate(result); } ClassPathBuilder();  ClassPathBuilder(DependencyGraphBuilder dependencyGraphBuilder); ClassPathResult resolve(List<Artifact> artifacts, boolean full);  }