GraphAware\Neo4j\OGM\Tests\Integration\UseCase\Github\GithubIntegrationTest::testSimpleUserIsSavedAndUpdatedPropertiesAreUpdated PHP Method

testSimpleUserIsSavedAndUpdatedPropertiesAreUpdated() public method

    public function testSimpleUserIsSavedAndUpdatedPropertiesAreUpdated()
    {
        $this->clearDb();
        $user = new GithubUser('ikwattro');
        $user->setDescription('neo4j consultant');
        $this->em->persist($user);
        $this->em->flush();
        $this->assertGraphExist('(u:User {login:"ikwattro", description:"neo4j consultant"})');
        $user->setDescription('neo4j developer');
        $this->em->flush();
        $this->assertGraphExist('(u:User {login:"ikwattro", description:"neo4j developer"})');
    }