Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 216.73.216.148
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
cboden /
ratchet /
tests /
unit /
Server /
Delete
Unzip
Name
Size
Permission
Date
Action
EchoServerTest.php
802
B
-rw-r--r--
2017-12-12 09:00
FlashPolicyComponentTest.php
4.71
KB
-rw-r--r--
2017-12-12 09:00
IoConnectionTest.php
867
B
-rw-r--r--
2017-12-12 09:00
IoServerTest.php
3.85
KB
-rw-r--r--
2017-12-12 09:00
IpBlackListComponentTest.php
3.44
KB
-rw-r--r--
2017-12-12 09:00
Save
Rename
<?php namespace Ratchet\Application\Server; use Ratchet\Server\IoConnection; /** * @covers Ratchet\Server\IoConnection */ class IoConnectionTest extends \PHPUnit_Framework_TestCase { protected $sock; protected $conn; public function setUp() { $this->sock = $this->getMock('\\React\\Socket\\ConnectionInterface'); $this->conn = new IoConnection($this->sock); } public function testCloseBubbles() { $this->sock->expects($this->once())->method('end'); $this->conn->close(); } public function testSendBubbles() { $msg = '6 hour rides are productive'; $this->sock->expects($this->once())->method('write')->with($msg); $this->conn->send($msg); } public function testSendReturnsSelf() { $this->assertSame($this->conn, $this->conn->send('fluent interface')); } }