public function testLoadById() { $schema = CConfig::getSchemaById(1); $this->assertEquals(1, $schema->getId()); $this->assertEquals('test', $schema->getName()); }