public function hasUnpersistedChangesReturnsTrueAfterObjectUpdate()
{
$this->removeExampleEntities();
$this->insertExampleEntity();
$this->persistenceManager->persistAll();
/** @var Fixtures\TestEntity $testEntity */
$testEntity = $this->testEntityRepository->findAll()->getFirst();
$testEntity->setName('Another name');
$this->testEntityRepository->update($testEntity);
$this->assertTrue($this->persistenceManager->hasUnpersistedChanges());
}