Test attribute iteration
public function testAttributeIteration() {
$attribute = new Attribute(array(
'key1' => 'value1',
));
foreach ($attribute as $value) {
$this
->assertSame((string) $value, 'value1', 'Iterate over attribute.');
}
}