lithium\tests\cases\data\ModelTest::testFieldIntrospection PHP Метод

testFieldIntrospection() публичный Метод

    public function testFieldIntrospection()
    {
        $this->assertNotEmpty(MockComment::hasField('comment_id'));
        $this->assertEmpty(MockComment::hasField('foo'));
        $this->assertEqual('comment_id', MockComment::hasField(array('comment_id')));
    }
ModelTest