/** * @expectedException \BadMethodCallException * @expectedExceptionMessage seek() is not implemented in the FnStream */ public function testThrowsWhenNotImplemented() { $stream = new FnStream(array()); $stream->seek(1); }
/** * @expectedException \BadMethodCallException * @expectedExceptionMessage seek() is not implemented in the FnStream */ public function testThrowsWhenNotImplemented() { $stream = new FnStream(array()); $stream->seek(1); }