public function setUp()
{
$config = new Configuration();
$config->setMetadataDriverImpl($config->newDefaultAnnotationDriver("tests/Doctrine/Tests/OXM/Entities"));
$config->setMetadataCacheImpl(new \Doctrine\Common\Cache\ArrayCache());
$this->metadataFactory = new ClassMetadataFactory($config);
$this->marshaller = new XmlMarshaller($this->metadataFactory);
}