Kraken\_Unit\Network\Socket\Component\Firewall\FirewallTest::testApiHandleMessage_PropagatesMessage PHP Метод

testApiHandleMessage_PropagatesMessage() публичный Метод

    public function testApiHandleMessage_PropagatesMessage()
    {
        $conn = $this->getMock(NetworkConnection::class, [], [], '', false);
        $mssg = $this->getMock(NetworkMessage::class, [], [], '', false);
        $server = $this->createServer();
        $component = $this->createComponent();
        $component->expects($this->once())->method('handleMessage')->with($conn, $mssg);
        $firewall = $this->createFirewall($server, $component);
        $firewall->handleMessage($conn, $mssg);
    }