public function testThrowsOnImmutableAdapter()
{
$command = new AddPublicKey();
$command->setConfig(['accessControl' => $this->getMock('Imbo\\Auth\\AccessControl\\Adapter\\AdapterInterface')]);
$commandTester = new CommandTester($command);
$commandTester->execute(['publicKey' => 'foo']);
}