public function testComputeSingleDocumentChangeSetForRemovedDocument()
{
$object = new UoWUser();
$object->username = "bar";
$object->id = '/somepath';
$this->uow->scheduleRemove($object);
// Should not throw "InvalidArgumentException: Document has to be managed for single computation"
$this->uow->computeSingleDocumentChangeSet($object);
}