Neos\Flow\Tests\Functional\Persistence\PersistenceTest::persistAllThrowsExceptionIfNonWhitelistedObjectsAreUpdatedAndFlagIsSet PHP Méthode

persistAllThrowsExceptionIfNonWhitelistedObjectsAreUpdatedAndFlagIsSet() public méthode

    public function persistAllThrowsExceptionIfNonWhitelistedObjectsAreUpdatedAndFlagIsSet()
    {
        $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->persistenceManager->persistAll(true);
    }
PersistenceTest