/** * Ajoute un notifier à la pile * * @covers Itkg\Batch\Configuration::addNotifier */ public function testAddNotifier() { $nbNotifier = sizeof($this->object->getNotifiers()); $this->object->addNotifier(new \Itkg\Batch\Mock\MyNotifier()); $this->assertEquals($nbNotifier + 1, sizeof($this->object->getNotifiers())); }