public function testNoHistory() { $this->storage->history()->willReturn($this->history->reveal()); $this->history->current()->willReturn(false); $this->resolver->resolve('latest'); }