GraphAware\Neo4j\OGM\Tests\Integration\ManagedEntityFlushITest::testChangesComputedForEntityFetched PHP Method

testChangesComputedForEntityFetched() public method

    public function testChangesComputedForEntityFetched()
    {
        $this->createUser();
        /** @var User $ikwattro */
        $ikwattro = $this->em->getRepository(User::class)->findOneBy('login', 'ikwattro');
        $ikwattro->setAge(35);
        $this->em->flush();
        $this->assertGraphExist('(u:User {login:"ikwattro", age: 35})');
    }