Neos\Flow\Tests\Functional\Persistence\PersistenceTest::validationIsOnlyDoneForPropertiesWhichAreInTheDefaultOrPersistencePropertyGroup PHP Method

validationIsOnlyDoneForPropertiesWhichAreInTheDefaultOrPersistencePropertyGroup() public method

    public function validationIsOnlyDoneForPropertiesWhichAreInTheDefaultOrPersistencePropertyGroup()
    {
        $this->removeExampleEntities();
        $this->insertExampleEntity();
        $this->persistenceManager->persistAll();
        $testEntity = $this->testEntityRepository->findOneByName('Flow');
        // We now make the TestEntities Description *invalid*, and still
        // expect that the saving works without exception.
        $testEntity->setDescription('');
        $this->testEntityRepository->update($testEntity);
        $this->persistenceManager->persistAll();
        // dummy assertion to suppress PHPUnit warning
        $this->assertTrue(true);
    }
PersistenceTest