/** * Test the getEvent method when the event doesn't exist. * * @return void * * @covers Joomla\Event\Dispatcher::getEvent * @since 1.0 */ public function testGetEventNonExisting() { $this->assertNull($this->instance->getEvent('non-existing')); $this->assertFalse($this->instance->getEvent('non-existing', false)); }