PHP 클래스 jamband\schemadump\tests\TestCase

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: jamband/yii2-schemadump 1 사용 예제들

보호된 메소드들

메소드 설명
mockApplication ( array $config = [], string $appClass = '\yii\console\Application' ) Populates Yii::$app with a new application The application will be destroyed on tearDown() automatically.
tearDown ( ) Clean up after test.

비공개 메소드들

메소드 설명
destroyApplication ( ) Destroys application in Yii::$app by setting it to null.

메소드 상세

mockApplication() 보호된 메소드

Populates Yii::$app with a new application The application will be destroyed on tearDown() automatically.
protected mockApplication ( array $config = [], string $appClass = '\yii\console\Application' )
$config array The application configuration, if needed
$appClass string name of the application class to create

tearDown() 보호된 메소드

By default the application created with [[mockApplication]] will be destroyed.
protected tearDown ( )