public function testFindTranslation()
 {
     $document = new \stdClass();
     $this->manager->expects($this->any())->method('findTranslation')->with(null, '/foo', 'en')->will($this->onConsecutiveCalls(null, $document, 'en'));
     $this->assertNull($this->extension->findTranslation('/foo', 'en'));
     $this->assertEquals($document, $this->extension->findTranslation('/foo', 'en'));
 }