public function testGetActionFor() { $this->assertNull($this->target->getActionFor('non-existent')); $key = 'name'; $this->target->setForm($key, []); $this->assertSame($this->target->getActionFor($key), sprintf('?form=%s', $key)); }
public function testGetActionFor() { $this->assertNull($this->target->getActionFor('non-existent')); $key = 'name'; $this->target->setForm($key, []); $this->assertSame($this->target->getActionFor($key), sprintf('?form=%s', $key)); }