diff --git a/tests/Doctrine/Tests/ORM/Persisters/JoinedSubclassPersisterTest.php b/tests/Doctrine/Tests/ORM/Persisters/JoinedSubclassPersisterTest.php new file mode 100644 index 000000000..78e47e7f4 --- /dev/null +++ b/tests/Doctrine/Tests/ORM/Persisters/JoinedSubclassPersisterTest.php @@ -0,0 +1,39 @@ +em = $this->_getTestEntityManager(); + + $this->persister = new JoinedSubclassPersister( + $this->em, + $this->em->getClassMetadata('Doctrine\Tests\Models\JoinedInheritanceType\RootClass') + ); + } + + public function testExecuteInsertsWillReturnEmptySetWithNoQueuedInserts() + { + $this->assertSame(array(), $this->persister->executeInserts()); + } +}