public function testResetEndStack() { $this->stacker->start('viewpath', ['arg1', 'arg2']); $this->assertCount(1, $this->stacker->getStack()); $this->stack->shouldReceive('reset')->andReturn(); $this->stacker->reset(); $this->assertCount(0, $this->stacker->getStack()); }