### Question:
RepositorySettings extends Settings { public List<RemoteRepository> getRepositories() { if (repositories == null) { repositories = new ArrayList<>(); repositories.add(CENTRAL); repositories.add(RELEASE); } return repositories; }  List<RemoteRepository> getRepositories(); void setRepositories(List<RemoteRepository> repositories); static final RemoteRepository CENTRAL; static final RemoteRepository RELEASE; }### Answer:
@Test void getRepositoriesNew() { assertThat(new RepositorySettings().getRepositories()).containsExactly( RepositorySettings.CENTRAL, RepositorySettings.RELEASE); }