@Test
public void should_store_external_binary() throws Exception {

    // given
    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";
    // when
    gitHubLastUpdateCache.store(externalBinary, releasesId, ZonedDateTime.now());
    // then
    assertThat(tmpFolder.listFiles()).containsOnly(new File(tmpFolder.getAbsolutePath() + "/gh.cache.4968399.json"));
}