void (String libraryName, String expectedBuildNumber) { setupPlatformLibrary(libraryName); try { final PluginPlatformInfo info = PluginPlatformInfo.forModule(getModule()); assertEquals(PluginPlatformInfo.PlatformResolveStatus.GRADLE, info.getResolveStatus()); assertEquals(BuildNumber.fromString(expectedBuildNumber), info.getSinceBuildNumber()); assertNull(info.getMainIdeaPlugin()); } finally { removePlatformLibrary(libraryName); } }