/** * @depends testIterator */ public function testCount(StandardObject $object) { $this->assertEquals(count($object->toArray()), count($object)); }