public function testAction() { $label = new Label(); $this->assertNull($label->getAction()); $this->assertSame($label, $label->setAction("test-action")); $this->assertEquals("test-action", $label->getAction()); }