@Test public void testExists() throws Exception { assertThat(storage.exists(), is(false)); keyStoreFile.createNewFile(); assertThat(storage.exists(), is(true)); }
@Override public boolean exists() { return keyStoreFile.exists(); }
FileKeyStoreStorage implements KeyStoreStorage { @Override public boolean exists() { return keyStoreFile.exists(); } }
FileKeyStoreStorage implements KeyStoreStorage { @Override public boolean exists() { return keyStoreFile.exists(); } FileKeyStoreStorage(final File keyStoreFile); }
FileKeyStoreStorage implements KeyStoreStorage { @Override public boolean exists() { return keyStoreFile.exists(); } FileKeyStoreStorage(final File keyStoreFile); @VisibleForTesting File getKeyStoreFile(); @Override boolean exists(); @Override boolean modified(); @Override void load(final KeyStore keyStore, final char[] password); @Override void save(final KeyStore keyStore, final char[] password); @Override String toString(); }
FileKeyStoreStorage implements KeyStoreStorage { @Override public boolean exists() { return keyStoreFile.exists(); } FileKeyStoreStorage(final File keyStoreFile); @VisibleForTesting File getKeyStoreFile(); @Override boolean exists(); @Override boolean modified(); @Override void load(final KeyStore keyStore, final char[] password); @Override void save(final KeyStore keyStore, final char[] password); @Override String toString();  }