/** * Tests Printer::write * * @expectedException \InvalidArgumentException */ public function testCreateSocketFail() { $file = new File(); $file->setOut('socket://'); }