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