Commit 989b95a9 by Alexander Makarov

used imports

parent 0093d534
...@@ -2,12 +2,16 @@ ...@@ -2,12 +2,16 @@
namespace yiiunit\framework\base; namespace yiiunit\framework\base;
class BarClass extends \yii\base\Component use yii\base\Behavior;
use yii\base\Component;
use yiiunit\TestCase;
class BarClass extends Component
{ {
} }
class FooClass extends \yii\base\Component class FooClass extends Component
{ {
public function behaviors() public function behaviors()
{ {
...@@ -17,7 +21,7 @@ class FooClass extends \yii\base\Component ...@@ -17,7 +21,7 @@ class FooClass extends \yii\base\Component
} }
} }
class BarBehavior extends \yii\base\Behavior class BarBehavior extends Behavior
{ {
public $behaviorProperty = 'behavior property'; public $behaviorProperty = 'behavior property';
...@@ -27,7 +31,7 @@ class BarBehavior extends \yii\base\Behavior ...@@ -27,7 +31,7 @@ class BarBehavior extends \yii\base\Behavior
} }
} }
class BehaviorTest extends \yiiunit\TestCase class BehaviorTest extends TestCase
{ {
public function testAttachAndAccessing() public function testAttachAndAccessing()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment