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