public function init()
 {
     $this->add(array('type' => 'Core/Spinner-Submit', 'name' => 'calculate', 'options' => array('label' => 'Calculate price'), 'attributes' => array('id' => 'calculate', 'type' => 'button', 'value' => 'calculate', 'class' => 'mps-calculate btn btn-success btn-xs')));
     parent::init();
     $this->get('submit')->setAttribute('class', 'mps-submit sf-submit btn btn-primary btn-xs');
 }
 public function testSetAttributeSomeAttribute()
 {
     $this->target->setAttribute('foo', 'bar');
     $this->assertSame($this->target->getFormId(), false);
 }