public function testEventLabels() { $this->assertCount(5, ScriptLabel::getEventLabels()); $this->assertTrue(ScriptLabel::isEventLabel(ScriptLabel::MOUSECLICK)); $this->assertFalse(ScriptLabel::isEventLabel(ScriptLabel::ONINIT)); }
public function testEventLabels() { $this->assertCount(5, ScriptLabel::getEventLabels()); $this->assertTrue(ScriptLabel::isEventLabel(ScriptLabel::MOUSECLICK)); $this->assertFalse(ScriptLabel::isEventLabel(ScriptLabel::ONINIT)); }