public function testSimpleMulteplicity()
{
$xml = '
<xs:schema targetNamespace="http://www.example.com"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="single">
<xs:all>
<xs:element name="id" type="ary" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:simpleType name="ary">
<xs:list itemType="xs:integer" />
</xs:simpleType>
</xs:schema>';
$items = $this->getClasses($xml);
$this->assertCount(1, $items);
$single = $items['Example\\SingleType'];
$this->assertTrue($single->hasMethod('issetId'));
$this->assertTrue($single->hasMethod('unsetId'));
$this->assertTrue($single->hasMethod('getId'));
$this->assertTrue($single->hasMethod('setId'));
}