Beispiel #1
0
 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));
 }