/** * Tests Fs::socket() */ public function testSocket() { $file = Fs::socket('/does/not/exists'); $this->assertType('Q\\Fs_Socket', $file); $this->assertEquals('/does/not/exists', (string) $file); }