public function testElementOfPrimitiveType($xsType, $phpName)
{
$content = '
<xs:schema targetNamespace="http://www.example.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="element-one" type="' . $xsType . '">
</xs:element>
</xs:schema>
';
$classes = $this->converter->convert(array($this->reader->readString($content)));
$this->assertCount(1, $classes);
$this->assertInstanceOf('Goetas\\Xsd\\XsdToPhp\\Php\\Structure\\PHPClass', $classes['Example\\ElementOne']);
$this->assertEquals('Example', $classes['Example\\ElementOne']->getNamespace());
$this->assertEquals('ElementOne', $classes['Example\\ElementOne']->getName());
$this->assertInstanceOf('Goetas\\Xsd\\XsdToPhp\\Php\\Structure\\PHPClass', $classes['Example\\ElementOne']->getExtends());
$this->assertCount(0, $classes['Example\\ElementOne']->getProperties());
//$this->assertArrayHasKey("__value", $classes['Example\ElementOne']->getProperties());
//$property = $classes['Example\ElementOne']->getProperty('__value');
//$this->assertInstanceOf('Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty', $property);
//$this->assertEquals('protected', $property->getVisibility());
//$this->assertEquals('', $property->getType()->getNamespace());
//$this->assertEquals($phpName, $property->getType()->getName());
}