| 1 | <?php  | 
            ||
| 11 | class TestCase extends \PHPUnit_Framework_TestCase  | 
            ||
| 12 | { | 
            ||
| 13 | /**  | 
            ||
| 14 | * This method is called before the first test of this test class is run.  | 
            ||
| 15 | * Attempts to load vendor autoloader.  | 
            ||
| 16 | * @throws \yii\base\NotSupportedException  | 
            ||
| 17 | */  | 
            ||
| 18 | public static function setUpBeforeClass()  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * Populates Yii::$app with a new application  | 
            ||
| 33 | */  | 
            ||
| 34 | protected function mockApplication()  | 
            ||
| 43 | |||
| 44 | /**  | 
            ||
| 45 | * Sets up before test  | 
            ||
| 46 | */  | 
            ||
| 47 | protected function setUp()  | 
            ||
| 52 | |||
| 53 | /**  | 
            ||
| 54 | * Clean up after test.  | 
            ||
| 55 | * The application created with [[mockApplication]] will be destroyed.  | 
            ||
| 56 | */  | 
            ||
| 57 | protected function tearDown()  | 
            ||
| 62 | }  | 
            ||
| 63 |