diff --git a/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php b/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php
+++ b/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php
@@ -1125,6 +1125,18 @@ class ClassMetadataTest extends \Doctrine\Tests\OrmTestCase
 
         $this->assertInstanceOf(__NAMESPACE__ . '\\MyArrayObjectEntity', $classMetadata->newInstance());
     }
+
+    /**
+     * @group DDC-2704
+     */
+    public function testGetAllReflectionPropertiesFailsOnNonInitializedMetadata()
+    {
+        $classMetadata = new ClassMetadata(__NAMESPACE__ . '\\MyArrayObjectEntity');
+
+        $this->setExpectedException('RuntimeException');
+
+        $classMetadata->getAllReflectionProperties();
+    }
 }
 
 /**
DDC-<I> - trying to get all reflection properties from an unitialized class metadata instance will result in a failure