public function setUp() { $this->max = 3; $this->next = m::mock('Graze\\Supervisor\\Handler\\HandlerInterface'); $this->sup = m::mock('Graze\\Supervisor\\SupervisorInterface'); $this->handler = new RetryHandler($this->max, $this->next); }