/** * Builds join identifier for a table is joined on the same level as a table identified by $joinId. * * @param string $joinId The join identifier * @param string $joinByFieldName The name of a field should be used to join new table * * @return string The join identifier */ public function buildSiblingJoinIdentifier($joinId, $joinByFieldName) { return $this->joinIdHelper->buildSiblingJoinIdentifier($joinId, $joinByFieldName); }
/** * @dataProvider buildSiblingJoinIdentifierProvider */ public function testBuildSiblingJoinIdentifier($joinId, $joinByFieldName, $expected) { $this->assertEquals($expected, $this->helper->buildSiblingJoinIdentifier($joinId, $joinByFieldName)); }