| 1 | <?php |
| 2 | |
| 3 | use MediaWiki\Html\FormOptions; |
| 4 | |
| 5 | class MockChangesListFilter extends ChangesListFilter { |
| 6 | public function displaysOnUnstructuredUi() { |
| 7 | throw new LogicException( |
| 8 | 'Not implemented: If the test relies on this, put it one of the ' . |
| 9 | 'subclasses\' tests (e.g. ChangesListBooleanFilterTest) ' . |
| 10 | 'instead of testing the abstract class' |
| 11 | ); |
| 12 | } |
| 13 | |
| 14 | public function isSelected( FormOptions $opts ) { |
| 15 | return false; |
| 16 | } |
| 17 | } |