PhpBench\Tests\Unit\Storage\UuidResolverTest::testNoHistory PHP Method

testNoHistory() public method

It should throw an exception if no history is present.
public testNoHistory ( )
    public function testNoHistory()
    {
        $this->storage->history()->willReturn($this->history->reveal());
        $this->history->current()->willReturn(false);
        $this->resolver->resolve('latest');
    }