@Test
void registerStorageCredentials() {

    tested.registerStorageCredentials(user, storageIdentifier, storageCredentials);
    verify(privateKeyService).validateUserHasAccessOrThrow(user);
    verify(storageKeyStoreOper).addStorageCredentials(user, storageIdentifier, storageCredentials);
}