doctrine/mongodb-odm — pull request #755 by tystr (2014-01-10 15:50:46+00:00)
Title: Added a test case for #567

A simple test case reproducing the exception that occurs when attempting to remove a single document like so:

``` PHP
$document = $dm->find('Document\MyDocument', $id);
$dm->remove($document);
$dm->flush($document);
```