ApiPlatform\Core\Tests\Doctrine\Util\QueryJoinParserTest::testGetJoinAliasWithJoin PHP Méthode

testGetJoinAliasWithJoin() public méthode

    public function testGetJoinAliasWithJoin()
    {
        $join = new Join('INNER_JOIN', 'relatedDummy', 'a_1', null, 'a_1.name = r.name');
        $this->assertEquals('a_1', QueryJoinParser::getJoinAlias($join));
    }