public function testFloatValues()
 {
     $this->rbtNumeric->setChecked(1.5);
     $this->assertEquals('1.5', $this->rbtNumeric->getValue());
     $buttons = $this->rbtNumeric->parse();
     $expected = $this->getExpectedNumericArray('1.5');
     $this->assertEquals($buttons, $expected);
 }
 public function testGetValue()
 {
     $_POST['form'] = 'radiobutton';
     $this->assertEquals('M', $this->rbtGender->getValue());
     $_POST['gender'] = 'F';
     $this->assertEquals('F', $this->rbtGender->getValue());
     $_POST['gender'] = array('foo', 'bar');
     $this->assertEquals('F', $this->rbtGender->getValue());
 }