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