### Question:
GridAccountServiceImpl extends AbstractConveyorComponentService implements GridAccountService { @Override public boolean isPassPhraseStoredAlready() throws ConveyorExecutionException { log.info("isPassPhraseStoredAlready"); KeyStore keyStore; try { keyStore = keyStoreDAO.findById(KeyStore.KEY_STORE_PASS_PHRASE); } catch (TransferDAOException e) { log.error("unable to look up prior key store", e); throw new ConveyorExecutionException( "error looking up prior key store", e); } if (keyStore == null) { log.info("no keystore found, will return false"); } return (keyStore != null); } 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 testIsPassPhraseAlreadyStoredWhenNotAlreadyStored() throws Exception { boolean actual = gridAccountService.isPassPhraseStoredAlready(); Assert.assertFalse("should not show pass phrase as already stored", actual); }