1
0
mirror of synced 2025-01-19 15:01:40 +03:00

#1213 - DDC-3437 - integrating new tests into the pre-existing data-provider

This commit is contained in:
Marco Pivetta 2014-12-08 01:18:36 +01:00
parent d75d6ffb11
commit af0be57538

View File

@ -99,6 +99,29 @@ class ReflectionEmbeddedPropertyTest extends \PHPUnit_Framework_TestCase
), ),
'Doctrine\\Tests\\Models\\Generic\\BooleanModel' '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: // reflection on classes extending internal PHP classes:
array( array(
$this->getReflectionProperty( $this->getReflectionProperty(