public function testLabelIsTranslatedWhenTranslationAvailable()
 {
     require_once 'Zend/Translate.php';
     $translations = array('Label' => 'This is the Submit Label');
     $translate = new Zend_Translate('array', $translations);
     $button = new Zend_Dojo_Form_Element_SubmitButton('foo', 'Label');
     $button->setTranslator($translate);
     $this->assertEquals($translations['Label'], $button->getLabel());
 }