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

jsonArrayIsPersistedAndIsReconstituted() public method

    public function jsonArrayIsPersistedAndIsReconstituted()
    {
        $extendedTypesEntity = new Fixtures\ExtendedTypesEntity();
        $extendedTypesEntity->setJsonArray(['foo' => 'bar']);
        $this->persistenceManager->add($extendedTypesEntity);
        $this->persistenceManager->persistAll();
        $this->persistenceManager->clearState();
        /**  @var Fixtures\ExtendedTypesEntity $persistedExtendedTypesEntity */
        $persistedExtendedTypesEntity = $this->extendedTypesEntityRepository->findAll()->getFirst();
        $this->assertInstanceOf(Fixtures\ExtendedTypesEntity::class, $persistedExtendedTypesEntity);
        $this->assertEquals(['foo' => 'bar'], $persistedExtendedTypesEntity->getJsonArray());
    }
PersistenceTest