public function itShouldHandleXmlAttributeCollectionsProperly()
{
$colorContainer = new CollectionAttributeClass();
$colorContainer->colors = array('red', 'green', 'blue');
$xml = $this->marshaller->marshalToString($colorContainer);
$this->assertXmlStringEqualsXmlString('<collection-attribute-class colors="red green blue" />', $xml);
$otherContainer = $this->marshaller->unmarshalFromString($xml);
$this->assertEquals(3, count($otherContainer->colors));
$this->assertContains('red', $otherContainer->colors);
$this->assertContains('green', $otherContainer->colors);
$this->assertContains('blue', $otherContainer->colors);
}