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