/** * Check the correct result for an existing option */ public function testGetPostMeta() { $this->postMetaManager->expects($this->once())->method('getPostMeta'); $this->extension->getPostMeta(12, 'meta-test', true); }
/** * Check getImageUrlFromId method */ public function testGetImageUrlFromId() { $this->assertEquals('http://www.exemple.com/image.jpg', $this->extension->getImageUrlFromId(1)); }