InstallJob extends AbstractExtensionJob<InstallRequest, DefaultJobStatus<InstallRequest>> { @Override public String getType() { return JOBTYPE; }  @Override String getType(); static final String JOBTYPE; }
@Test void testInstallNoType() throws Throwable { install(TestResources.REMOTE_NOTYPE_ID); InstalledExtension installedExtension = this.installedExtensionRepository.getInstalledExtension(TestResources.REMOTE_NOTYPE_ID.getId(), null); assertNotNull(installedExtension); assertNotNull(this.installedExtensionRepository.getInstalledExtension(TestResources.REMOTE_NOTYPE_ID.getId(), "namespace")); assertNull(installedExtension.getType()); assertNull(installedExtension.getFile()); }