/**
     * @test
     */
    public function canGetXmlContent()
    {
        $expectedContent = $this->cleanSpaces('<?xml version="1.0" encoding="UTF-8"?><promotion>
			<title>test</title>
			<type>organic</type>
			<image>http://www.foobar.de/test.gif</image>
			<language>de</language>
			<searchterms>
				<searchterm>one</searchterm>
				<searchterm>two</searchterm>
			</searchterms>
			<limitedTimeFrom>2006-09-09T16:00:00.0Z</limitedTimeFrom>
			<limitedTimeTo>2040-01-01T08:00:00.0Z</limitedTimeTo>
			<solrfieldvalues>
				<solrfieldvalue fieldname="test">Fooobar</solrfieldvalue>
			</solrfieldvalues>
			<content><![CDATA[
				<html>
					<head></head>
					<body><![CDATA[test]]]]><![CDATA[></body>
				</html>
			]]></content>
		</promotion>');
        $this->promotion->setPromotionType(Promotion::TYPE_ORGANIC);
        $this->promotion->setImageUrl('http://www.foobar.de/test.gif');
        $this->promotion->setPromotionTitle('test');
        $this->promotion->addKeyword('one');
        $this->promotion->addKeyword('two');
        $this->promotion->addFieldValue('test', 'Fooobar');
        $this->promotion->setLanguage('de');
        $this->promotion->setPromotionContent('<html><head></head><body><![CDATA[test]]></body></html>');
        $this->promotion->setLimitedTimeFrom('2006-09-09T16:00:00.0Z');
        $this->promotion->setLimitedTimeTo('2040-01-01T08:00:00.0Z');
        $content = $this->cleanSpaces($this->promotion->getContent());
        $this->assertEquals($content, $expectedContent, 'Could not build xml from promotion as expected');
    }