@Test public void knowsMissingValues() throws Exception { assertFalse(repo.contains("key")); }
@Override public boolean contains(String key) throws PersistenceException { try { find(key); return true; } catch (EntityNotFoundException e) { return false; } }
SqliteClientConfigRepository implements ClientConfigRepository { @Override public boolean contains(String key) throws PersistenceException { try { find(key); return true; } catch (EntityNotFoundException e) { return false; } } }
SqliteClientConfigRepository implements ClientConfigRepository { @Override public boolean contains(String key) throws PersistenceException { try { find(key); return true; } catch (EntityNotFoundException e) { return false; } } SqliteClientConfigRepository(ClientDatabase database); }
SqliteClientConfigRepository implements ClientConfigRepository { @Override public boolean contains(String key) throws PersistenceException { try { find(key); return true; } catch (EntityNotFoundException e) { return false; } } SqliteClientConfigRepository(ClientDatabase database); @Override String find(String key); @Override boolean contains(String key); @Override void save(String key, String value); }
SqliteClientConfigRepository implements ClientConfigRepository { @Override public boolean contains(String key) throws PersistenceException { try { find(key); return true; } catch (EntityNotFoundException e) { return false; } } SqliteClientConfigRepository(ClientDatabase database); @Override String find(String key); @Override boolean contains(String key); @Override void save(String key, String value);  }