public function testCallThrowsExceptionWhenMethodNotExists()
 {
     $stream = new Stream(false);
     $this->setExpectedException('InvalidArgumentException');
     $stream->stream_not_exists_method();
 }