Adding a data-provider case for a generic model (non-internal class)
This commit is contained in:
parent
ecf028490f
commit
a8b0ac82b4
@ -50,6 +50,17 @@ class ReflectionEmbeddedPropertyTest extends \PHPUnit_Framework_TestCase
|
|||||||
public function getTestedReflectionProperties()
|
public function getTestedReflectionProperties()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
|
array(
|
||||||
|
$this->getReflectionProperty(
|
||||||
|
'Doctrine\\Tests\\Models\\Generic\\BooleanModel',
|
||||||
|
'id'
|
||||||
|
),
|
||||||
|
$this->getReflectionProperty(
|
||||||
|
'Doctrine\\Tests\\Models\\Generic\\BooleanModel',
|
||||||
|
'id'
|
||||||
|
),
|
||||||
|
),
|
||||||
|
// reflection on classes extending internal PHP classes:
|
||||||
array(
|
array(
|
||||||
$this->getReflectionProperty(
|
$this->getReflectionProperty(
|
||||||
'Doctrine\\Tests\\Models\\Reflection\\ArrayObjectExtendingClass',
|
'Doctrine\\Tests\\Models\\Reflection\\ArrayObjectExtendingClass',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user