public function persistAllEmitsAllObjectsPersistedSignal()
{
$this->mockEntityManager->expects($this->once())->method('flush');
$this->persistenceManager->expects($this->once())->method('emitAllObjectsPersisted');
$this->persistenceManager->persistAll();
}