| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function testThatAllParserStatementsAreSupported() |
||
| 10 | { |
||
| 11 | $sqlParserStatements = array_unique(array_filter(array_values(SqlParser::$STATEMENT_PARSERS))); |
||
| 12 | sort($sqlParserStatements); |
||
| 13 | |||
| 14 | $supportedStatements = call_user_func_array( |
||
| 15 | 'array_merge', |
||
| 16 | $this->getProtectedStaticPropertyValue(FileList::class, 'statementTypes') |
||
| 17 | ); |
||
| 18 | sort($supportedStatements); |
||
| 19 | |||
| 20 | $this->assertEquals($sqlParserStatements, $supportedStatements); |
||
| 21 | } |
||
| 22 | |||
| 39 |