public function testValidateChoicesWithShortcuts()
{
$ir = new InformationRequest('fruit', array('type' => 'choice', 'choices' => array('apple', 'banana', 'cherry'), 'choices_shortcuts' => array('a' => 'apple', 'b' => 'banana', 'c' => 'cherry')));
$iq = new InteractiveQuestion($ir);
$this->assertEquals('apple', $iq->validate('a'));
}