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

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

    public function testApiConstructor_CreatesInstance()
    {
        $server = $this->createServer();
        $component = $this->createComponent();
        $firewall = $this->createFirewall($server, $component);
        $this->assertInstanceOf(SocketFirewall::class, $firewall);
        $this->assertInstanceOf(SocketFirewallInterface::class, $firewall);
        $this->assertInstanceOf(NetworkComponentAwareInterface::class, $firewall);
        $this->assertInstanceOf(NetworkComponentInterface::class, $firewall);
    }