em = createEntityManager();
cryptoEngine = new CryptoEngineImpl();
mockUrlFetchService = createMock(URLFetchService.class);
impl = new CardServiceImpl(em, cryptoEngine, mockUrlFetchService, mockFavIconFinder);
AccountService accountService = new AccountServiceImpl(em, cryptoEngine);
encryptionKey = accountService.createAccount(userId, "masterPassword").getEncryptionKey();
}