/** * @dataProvider dataSetLabel * @param string $label */ public function testSetLabel($label) { $this->assertSame('', $this->action->getLabel()); $this->assertSame($this->action, $this->action->setLabel($label)); $this->assertSame($label, $this->action->getLabel()); }