@Test public void isAvailableShouldReturnTrueWhenFirmwareFileInCache() { final boolean actual = this.firmwareFileCachingRepostitory.isAvailable(FIRMWARE_IDENTIFICATION); assertThat(actual).isTrue(); }
@Override public boolean isAvailable(final String key) { return this.cache.containsKey(key); }
FirmwareFileCachingRepository implements CachingRepository<String, byte[]> { @Override public boolean isAvailable(final String key) { return this.cache.containsKey(key); } }
FirmwareFileCachingRepository implements CachingRepository<String, byte[]> { @Override public boolean isAvailable(final String key) { return this.cache.containsKey(key); } FirmwareFileCachingRepository(); protected  FirmwareFileCachingRepository(final Map<String, byte[]> cache); }
FirmwareFileCachingRepository implements CachingRepository<String, byte[]> { @Override public boolean isAvailable(final String key) { return this.cache.containsKey(key); } FirmwareFileCachingRepository(); protected  FirmwareFileCachingRepository(final Map<String, byte[]> cache); @Override boolean isAvailable(final String key); @Override byte[] retrieve(final String key); @Override void store(final String key, final byte[] value); }
FirmwareFileCachingRepository implements CachingRepository<String, byte[]> { @Override public boolean isAvailable(final String key) { return this.cache.containsKey(key); } FirmwareFileCachingRepository(); protected  FirmwareFileCachingRepository(final Map<String, byte[]> cache); @Override boolean isAvailable(final String key); @Override byte[] retrieve(final String key); @Override void store(final String key, final byte[] value);  }