@Override
    public String toString() {
        return "ResourceConfig{" +
                "url=" + url +
                ", id='" + id + '\'' +
                ", resourceType=" + resourceType +
                '}';
    }
@Test
    public void when_addDuplicateZipOfJarWithPath_then_throwsException() throws Exception {
        // Given
        String resourceId = "zipFile";
        String path1 = createFile("path/to/" + resourceId).toString();
        String path2 = createFile("path/to/another/" + resourceId).toString();
        config.addJarsInZip(path1);


        // When
        assertThrows(IllegalArgumentException.class, () -> config.addJarsInZip(path2));
    }