Example #1
0
 /**
  * @covers Button::unsetParam
  */
 public function testUnsetParam()
 {
     $key = "id";
     $value = "124";
     $resultButton = $this->button->setParam($key, $value);
     $actual = $resultButton->getHref()->get($key);
     $this->assertEquals($value, $actual);
     $resultButton = $this->button->unsetParam($key);
     $actual = $resultButton->getHref()->get($key);
     $this->assertNull($actual);
 }