hasExtension() 공개 메소드

public hasExtension ( $structureType, $name )
예제 #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);
 }