function testToString() { $l = new Loop('foo', 'bar', 'charlie'); $this->equals($l->__tostring(), 'foo'); $this->equals($l->__tostring(), 'bar'); $this->equals($l->__tostring(), 'charlie'); $this->equals($l->__tostring(), 'foo'); }