| 1 | <?php |
||
| 12 | abstract class CriterionHandlerTest extends TestCase |
||
| 13 | { |
||
| 14 | abstract public function testAccept(); |
||
| 15 | |||
| 16 | abstract public function testHandle(); |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Check if critetion handler accepts specyfied criterion class. |
||
| 20 | * |
||
| 21 | * @param CriterionHandler $handler |
||
| 22 | * @param string $criterionClass |
||
| 23 | */ |
||
| 24 | protected function assertHandlerAcceptsCriterion(CriterionHandler $handler, $criterionClass) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Check if critetion handler rejects specyfied criterion class. |
||
| 31 | * |
||
| 32 | * @param CriterionHandler $handler |
||
| 33 | * @param string $criterionClass |
||
| 34 | */ |
||
| 35 | protected function assertHandlerRejectsCriterion(CriterionHandler $handler, $criterionClass) |
||
| 39 | } |
||
| 40 |