@Test public void computeComponentPathsWithComponent() { Component component = createComponent("component", "group", "1.0.0"); Asset asset = createAsset("asset/path/foo"); List<BrowsePaths> paths = generator.computeComponentPaths(asset, component); assertPaths(asList("asset", "path", "foo"), paths); }
@Override public List<BrowsePaths> computeComponentPaths(final Asset asset, final Component component) { return computeAssetPaths(asset, component); }
AssetPathBrowseNodeGenerator implements BrowseNodeGenerator { @Override public List<BrowsePaths> computeComponentPaths(final Asset asset, final Component component) { return computeAssetPaths(asset, component); } }
AssetPathBrowseNodeGenerator implements BrowseNodeGenerator { @Override public List<BrowsePaths> computeComponentPaths(final Asset asset, final Component component) { return computeAssetPaths(asset, component); }  }
AssetPathBrowseNodeGenerator implements BrowseNodeGenerator { @Override public List<BrowsePaths> computeComponentPaths(final Asset asset, final Component component) { return computeAssetPaths(asset, component); }  @Override List<BrowsePaths> computeAssetPaths(final Asset asset, @Nullable final Component component); @Override List<BrowsePaths> computeComponentPaths(final Asset asset, final Component component); }
AssetPathBrowseNodeGenerator implements BrowseNodeGenerator { @Override public List<BrowsePaths> computeComponentPaths(final Asset asset, final Component component) { return computeAssetPaths(asset, component); }  @Override List<BrowsePaths> computeAssetPaths(final Asset asset, @Nullable final Component component); @Override List<BrowsePaths> computeComponentPaths(final Asset asset, final Component component);  }