public function setUp() { $this->buffer = new Buffer($this->initialString); $this->iterator = $this->buffer->getIterator(); }