@Test public void testGetFetchTargets() throws IOException { SourceOrigins origins = SourceOriginsLoader.load(); List<FetchTarget> targets = origins.getFetchTargets(); Assert.assertThat("targets", targets, notNullValue()); Assert.assertThat("targets.size", targets.size(), greaterThan(45)); }
public List<FetchTarget> getFetchTargets() { return targets; }
SourceOrigins { public List<FetchTarget> getFetchTargets() { return targets; } }
SourceOrigins { public List<FetchTarget> getFetchTargets() { return targets; }  }
SourceOrigins { public List<FetchTarget> getFetchTargets() { return targets; }  Map<Version, VersionTree> getVersions(); void setVersions(Map<Version, VersionTree> versions); int getSpecVersion(); void setSpecVersion(int specVersion); Set<ApiLevel> getApilevels(); Collection<ProjectTemplate> getProjects(); void setApilevels(Set<ApiLevel> apis); @SetNext void addProject(ProjectTemplate project); @SetNext void addApiLevel(ApiLevel apilevel); Set<Tag> getTags(); void setTags(Set<Tag> tags); @SetNext void addTag(Tag tag); Set<Branch> getBranches(); void setBranches(Set<Branch> branches); @SetNext void addBranch(Branch branch); Set<Repo> getRepos(); void setRepos(Set<Repo> repos); @SetNext void addRepo(Repo repo); ApiLevel getApiLevel(String level); Tag getTag(String name); Branch getBranch(String name); Repo getRepo(String url); void normalize(); ApiLevel getApiLevelByVersion(Version version); VersionTree getVersion(String version); List<FetchTarget> getFetchTargets(); FetchTarget getFetchTarget(String id); ProjectTemplate getProjectTemplate(String id); }
SourceOrigins { public List<FetchTarget> getFetchTargets() { return targets; }  Map<Version, VersionTree> getVersions(); void setVersions(Map<Version, VersionTree> versions); int getSpecVersion(); void setSpecVersion(int specVersion); Set<ApiLevel> getApilevels(); Collection<ProjectTemplate> getProjects(); void setApilevels(Set<ApiLevel> apis); @SetNext void addProject(ProjectTemplate project); @SetNext void addApiLevel(ApiLevel apilevel); Set<Tag> getTags(); void setTags(Set<Tag> tags); @SetNext void addTag(Tag tag); Set<Branch> getBranches(); void setBranches(Set<Branch> branches); @SetNext void addBranch(Branch branch); Set<Repo> getRepos(); void setRepos(Set<Repo> repos); @SetNext void addRepo(Repo repo); ApiLevel getApiLevel(String level); Tag getTag(String name); Branch getBranch(String name); Repo getRepo(String url); void normalize(); ApiLevel getApiLevelByVersion(Version version); VersionTree getVersion(String version); List<FetchTarget> getFetchTargets(); FetchTarget getFetchTarget(String id); ProjectTemplate getProjectTemplate(String id);  }