void () { MavenGeneralSettings settings = new MavenGeneralSettings(); MavenGeneralPanel panel = new MavenGeneralPanel(); settings.setMavenHomeType(BundledMaven3.INSTANCE); panel.initializeFormData(settings, DummyProject.getInstance()); assertThat(panel, t -> assertEquals("Absolute path to bundled maven should resolve to bundle", BundledMaven3.INSTANCE.getTitle(), t.getText())); }