/** * @test * @see http://forge.typo3.org/issues/21555 */ public function parseFromTablesWithMultipleJoinsAndParenthesesReturnsArray() { $parseString = 'tx_powermail_fieldsets RIGHT JOIN tt_content ON tx_powermail_fieldsets.tt_content = tt_content.uid LEFT JOIN tx_powermail_fields ON tx_powermail_fieldsets.uid = tx_powermail_fields.fieldset'; $result = $this->subject->parseFromTables($parseString); $this->assertInternalType('array', $result); $this->assertEmpty($parseString); }