/** * Extracts a parent join identifier * * @param string $joinId * * @return string * @throws \LogicException if incorrect join identifier specified */ public function getParentJoinIdentifier($joinId) { return $this->joinIdHelper->getParentJoinIdentifier($joinId); }
/** * @dataProvider getParentJoinIdentifierProvider */ public function testGetParentJoinIdentifier($joinId, $expected) { $this->assertEquals($expected, $this->helper->getParentJoinIdentifier($joinId)); }