@Test
public void should_create_release_cache_folder() throws Exception {

    // given
    final File customCacheFolder = new File(tmpFolder, "custom-cache-folder");
    final ExternalBinary externalBinary = new ExternalBinary("1.0.0.Final",
        "https://api.github.com/repos/MatousJobanek/my-test-repository/releases/assets/2857399");
    final String releasesId = "4968399";
    gitHubLastUpdateCache = new GitHubLastUpdateCache(customCacheFolder);
    // when
    gitHubLastUpdateCache.store(externalBinary, releasesId, ZonedDateTime.now());
    // then
    final SoftAssertions softly = new SoftAssertions();
    softly.assertThat(customCacheFolder).exists().isDirectory();
    softly.assertThat(new File(customCacheFolder, "gh.cache.4968399.json")).isFile().has(new Condition<File>() {
        @Override
        public boolean matches(File value) {
            return value.length() > 0;
        }
    });
    softly.assertAll();
}