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