/** * It can say if it has an extension. */ public function testHasExtension() { $this->extensionManager->hasExtension('content', 'foo')->willReturn(true); $result = $this->structureManager->hasExtension('content', 'foo'); $this->assertTrue($result); }