hasExtension() public method

public hasExtension ( $structureType, $name )
Esempio n. 1
0
 /**
  * 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);
 }