it("delegates an account", async () => {
    await producer.delegateAccount(customAuthComponent, crypto, sessionKey, username, audience, finishDelegation)

    expect(accountDelegated).toBe(true)
  })