Carew\Tests\Command\fixtures\extension\MyExtension::isCalled PHP 메소드

isCalled() 공개 정적인 메소드

public static isCalled ( )
    public static function isCalled()
    {
        return static::$called;
    }

Usage Example

예제 #1
0
파일: CarewTest.php 프로젝트: carew/carew
 public function testRunWithExtension()
 {
     $application = new ApplicationTester($this->carew);
     $statusCode = $application->run(array('command' => 'list', '--base-dir' => __DIR__ . '/Command/fixtures/extension'));
     $this->assertSame(0, $statusCode);
     $this->assertTrue(\Carew\Tests\Command\fixtures\extension\MyExtension::isCalled());
 }