public function testInvokeNonMappedEvent() { $this->bus->setGate(new Gate()); $mockEvent = new MockEvent(); $this->assertFalse($this->bus->publishEvent($mockEvent)); }