public function testExecute()
{
$expected = '/^.+ [a-z0-9]+@local.+api-key: [a-f0-9]+ secret: [a-f0-9]+$/';
$commandTester = new CommandTester($this->instance->find('hayapi:create-user'));
$commandTester->execute(array('username' => $this->userIdentifier, 'email' => $this->userIdentifier, 'password' => $this->userIdentifier), array('interactive'));
$this->assertRegExp($expected, $commandTester->getDisplay());
}