}
@Test
public void testDeleteCard() {
CardDetails cardDetails = new CardDetails(null, "name", "login", "password", "url", "iconUrl", "note");
Card card = impl.createCard(userId, cardDetails, encryptionKey);
assertNotNull(impl.getCardDetails(card.getId(), encryptionKey));
impl.deleteCard(card.getId());
assertNull(impl.getCardDetails(card.getId(), encryptionKey));
}