1 | <?php |
||
9 | class WebSocketClientTest extends TestCase |
||
10 | { |
||
11 | |||
12 | const WS_SCHEME = 'ws://'; |
||
13 | const WS_HOST = 'localhost'; |
||
14 | const WS_PORT = ':8000'; |
||
15 | const WS_URI = '/notifications/messanger/vkjsndfvjn23243'; |
||
16 | |||
17 | private $url; |
||
18 | |||
19 | public function setUp()/* The :void return type declaration that should be here would cause a BC issue */ |
||
23 | |||
24 | /** |
||
25 | * @test |
||
26 | * @throws \Exception |
||
27 | */ |
||
28 | public function is_client_connected() |
||
41 | |||
42 | /** |
||
43 | * @test |
||
44 | * @throws \Exception |
||
45 | */ |
||
46 | public function it_sends_with_headers_via_constructor() |
||
65 | |||
66 | /** |
||
67 | * @test |
||
68 | * @throws \Exception |
||
69 | */ |
||
70 | public function it_sends_with_headers_via_setters() |
||
86 | } |
||
87 |