/** * @test * @expectedException Ext_Io_Net_Stream_Exception */ public function readLineEndingsWithInvalidCount() { $this->_serverStream->readLineEndings(-1, 'test'); }