@Test
public void expandIfZipForZipWithOnlyModuleDescriptor() throws Exception {

    PluginZip pluginZip = new PluginZip.Builder(pluginsPath.resolve("my-plugin-1.2.3.zip"), "myPlugin")
            .pluginVersion("1.2.3")
            .build();
    Path unzipped = FileUtils.expandIfZip(pluginZip.path());
    assertEquals(pluginZip.unzippedPath(), unzipped);
    assertTrue(Files.exists(unzipped.resolve("plugin.properties")));
}