public function testFiresNothingWhenCommandDoesNotExist() { $msg = json_encode(['command' => 'my-other-command-that-does-not-exist']); $this->chat->onMessage($this->connection, $msg); $this->assertFalse($this->commandExecuted); }