public function testApiOnMessage_FiltersMessage() { $command = $this->createCommand(); $this->assertSame('ip=127.0.0.1', $this->callProtectedMethod($command, 'onMessage', ['127.0.0.1'])); }