public String getFileContentInsideZip(ZipInputStream zipInputStream, String file) throws IOException {
        ZipEntry zipEntry = zipInputStream.getNextEntry();
        while (zipEntry != null) {
            if (new File(zipEntry.getName()).getName().equals(file)) {
                return IOUtils.toString(zipInputStream, UTF_8);
            }
            zipEntry = zipInputStream.getNextEntry();
        }
        return null;
    }
@Test
    void shouldReturnNullIfTheFileByTheNameDoesNotExistInsideZip() throws IOException, URISyntaxException {
        try (ZipInputStream zip = new ZipInputStream(new FileInputStream(new File(getClass().getResource("/dummy-plugins.zip").toURI())))) {
            String contents = zipUtil.getFileContentInsideZip(zip, "does_not_exist.txt");
            assertThat(contents).isNull();
        }
    }