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

testSimpleUserIsSaved() public method

    public function testSimpleUserIsSaved()
    {
        $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"})');
    }