Esempio n. 1
0
 protected function setUp()
 {
     //parent::setUp();
     $this->sample = Yii::createObject(['class' => NewObject::className(), 'items' => $this->items]);
 }
 public function testClassName()
 {
     $obj = new NewObject();
     $this->assertEquals('NewObject', $obj->className());
 }