### Question:
GridAccountServiceImpl extends AbstractConveyorComponentService implements GridAccountService { @Override public List<GridAccount> findAll() throws ConveyorExecutionException { log.info("findAll()"); try { return gridAccountDAO.findAll(); } catch (TransferDAOException e) { log.error("exception deleting", e); throw new ConveyorExecutionException("error deleting account", e); } } GridAccountServiceImpl(); GridAccountDAO getGridAccountDAO(); void setGridAccountDAO(final GridAccountDAO gridAccountDAO); KeyStoreDAO getKeyStoreDAO(); void setKeyStoreDAO(final KeyStoreDAO keyStoreDAO); @Override KeyStore changePassPhraseWhenAlreadyValidated(final String passPhrase); @Override void rememberDefaultStorageResource(final String resourceName,
            final IRODSAccount irodsAccount); @Override GridAccount addOrUpdateGridAccountBasedOnIRODSAccount(
            final IRODSAccount irodsAccount); @Override GridAccount addOrUpdateGridAccountBasedOnIRODSAccount(
            final IRODSAccount irodsAccount, final AuthResponse authResponse); @Override void validatePassPhrase(final String passPhrase); @Override synchronized String getCachedPassPhrase(); @Override GridAccount findGridAccountByIRODSAccount(
            final IRODSAccount irodsAccount); @Override void deleteGridAccount(final GridAccount gridAccount); @Override List<GridAccount> findAll(); @Override synchronized IRODSAccount irodsAccountForGridAccount(
            final GridAccount gridAccount); @Override void deleteAllGridAccounts(); @Override synchronized void resetPassPhraseAndAccounts(); @Override boolean isPassPhraseStoredAlready(); static ClientServerNegotiationPolicy.SslNegotiationPolicy translateSslNegotiationToEnum(final String sslNegotiationPolicyString);  }### Answer:
@Test public void testFindAll() throws Exception { String testUserName = "user1"; IRODSAccount irodsAccount = testingPropertiesHelper .buildIRODSAccountForIRODSUserFromTestPropertiesForGivenUser( testingProperties, testUserName, testUserName); String testUserName2 = "user2"; IRODSAccount irodsAccount2 = testingPropertiesHelper .buildIRODSAccountForIRODSUserFromTestPropertiesForGivenUser( testingProperties, testUserName2, testUserName2); String passPhrase = "ooogabooga"; gridAccountService.validatePassPhrase(passPhrase); gridAccountService .addOrUpdateGridAccountBasedOnIRODSAccount(irodsAccount); gridAccountService .addOrUpdateGridAccountBasedOnIRODSAccount(irodsAccount2); List<GridAccount> actual = gridAccountService.findAll(); Assert.assertEquals("did not get two accounts", 2, actual.size()); }