void () { super.setUp(); // set up fake maven repository ServiceContainerUtil.registerServiceInstance(myProject, RemoteRepositoriesConfiguration.class, new RemoteRepositoriesConfiguration() { @NotNull @Override public List<RemoteRepositoryDescription> getRepositories() { return List.of(RepositoryUtilsTest.this.myMavenRepoDescription); } }); }