void () { Sdk sdk = IdeaTestUtil.getMockJdk18(); setProjectSdk2(sdk); ModuleRootModificationUtil.setSdkInherited(getModule()); final List<String> fixes = detectMissingSdks(); assertThat(fixes) .withFailMessage(String.valueOf(fixes)) .isEmpty(); }