/** * tests some config */ public function testConfig() { $v = new View(); $this->assertType('view', View::Model()); $this->assertType('string', $v->tableName()); $this->assertType('array', $v->primaryKey()); $this->assertType('array', $v->relations()); $this->assertType('array', $v->attributeLabels()); }