@Test
public void mustCacheResult() {

    clientFty.configureClient((clt) -> clt.knownImage(OfficialAgentImageResolver.REPO, "4.0", "6.0"));
    OfficialAgentImageResolver resolver = createResolver();
    String resolved = resolver.resolve();
    clientFty.getClient().failOnAccess(new DockerClientProcessingException("Test failure."));
    assertThat(resolver.resolve()).isEqualTo(resolved);
}