public function testValueAppend()
{
$collection = new Collection();
$this->assertFalse($collection->valid());
$this->assertCount(0, $collection);
$collection->append(1);
$this->assertCount(1, $collection);
$collection->append(new stdClass());
$this->assertCount(2, $collection);
$this->assertEqual(1, $collection->current());
$this->assertEqual(new stdClass(), $collection->next());
}