1 | <?php |
||
14 | class Observer extends atoum |
||
15 | { |
||
16 | /** |
||
17 | * @var $class : Instance de la class Observer |
||
18 | */ |
||
19 | protected $class; |
||
20 | |||
21 | /** |
||
22 | * @var $mock : Instance du mock pour la class Observer |
||
23 | */ |
||
24 | protected $mock; |
||
25 | |||
26 | /** |
||
27 | * Instanciation de la class avant chaque méthode de test |
||
28 | */ |
||
29 | public function beforeTestMethod($testMethod) |
||
34 | |||
35 | /** |
||
36 | * Test de la méthode update($subject) |
||
37 | */ |
||
38 | public function testUpdate() |
||
43 | |||
44 | /** |
||
45 | * Test de la méthode updateWithAction($subject, $action) |
||
46 | * |
||
47 | * @TODO : Too complexe actually |
||
48 | */ |
||
49 | public function testUpdateWithAction() |
||
53 | |||
54 | } |
||
55 | |||
101 |