From af0be575383ad07d91a51c3cd861129d86a598ac Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Mon, 8 Dec 2014 01:18:36 +0100 Subject: [PATCH] #1213 - DDC-3437 - integrating new tests into the pre-existing data-provider --- .../ReflectionEmbeddedPropertyTest.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) 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(