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