From a8b0ac82b4170094f065d4a850f613a6a4b7371f Mon Sep 17 00:00:00 2001
From: Marco Pivetta <ocramius@gmail.com>
Date: Fri, 5 Dec 2014 12:57:48 +0100
Subject: [PATCH] Adding a data-provider case for a generic model (non-internal
 class)

---
 .../ORM/Mapping/ReflectionEmbeddedPropertyTest.php    | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php b/tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php
index 84a614ddb..237de15d8 100644
--- a/tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php
+++ b/tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.php
@@ -50,6 +50,17 @@ class ReflectionEmbeddedPropertyTest extends \PHPUnit_Framework_TestCase
     public function getTestedReflectionProperties()
     {
         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(
                 $this->getReflectionProperty(
                     'Doctrine\\Tests\\Models\\Reflection\\ArrayObjectExtendingClass',