lithium\tests\cases\data\ModelTest::testCustomAttributesInheritance PHP Method

testCustomAttributesInheritance() public method

    public function testCustomAttributesInheritance()
    {
        $expected = array('prop1' => 'value1', 'prop2' => 'value2');
        $result = MockSubProduct::attribute('_custom');
        $this->assertEqual($expected, $result);
    }
ModelTest