public function testGetAttibute()
{
$struct = self::instance('Foo', true);
$struct->addAttribute('id', 'int');
$struct->addAttribute('name', 'string');
$struct->addAttribute('_key', 'string');
$this->assertInstanceOf('\\WsdlToPhp\\PackageGenerator\\Model\\StructAttribute', $struct->getAttribute('id'));
$this->assertNotInstanceOf('\\WsdlToPhp\\PackageGenerator\\Model\\StructAttribute', $struct->getAttribute('_id'));
}