diff --git a/tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php b/tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php index 9796aeadd..98fa1152f 100644 --- a/tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php +++ b/tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php @@ -99,6 +99,29 @@ class ReflectionEmbeddedPropertyTest extends \PHPUnit_Framework_TestCase ), 'Doctrine\\Tests\\Models\\Generic\\BooleanModel' ), + // reflection on embeddables that have properties defined in abstract ancestors: + array( + $this->getReflectionProperty( + 'Doctrine\\Tests\\Models\\Generic\\BooleanModel', + 'id' + ), + $this->getReflectionProperty( + 'Doctrine\\Tests\\Models\\Reflection\\AbstractEmbeddable', + 'propertyInAbstractClass' + ), + 'Doctrine\\Tests\\Models\\Reflection\\ConcreteEmbeddable' + ), + array( + $this->getReflectionProperty( + 'Doctrine\\Tests\\Models\\Generic\\BooleanModel', + 'id' + ), + $this->getReflectionProperty( + 'Doctrine\\Tests\\Models\\Reflection\\ConcreteEmbeddable', + 'propertyInConcreteClass' + ), + 'Doctrine\\Tests\\Models\\Reflection\\ConcreteEmbeddable' + ), // reflection on classes extending internal PHP classes: array( $this->getReflectionProperty(