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

testResolveLatest() public method

It should resove the "latest" token.
public testResolveLatest ( )
    public function testResolveLatest()
    {
        $this->storage->history()->willReturn($this->history->reveal());
        $this->history->current()->willReturn($this->historyEntry->reveal());
        $this->historyEntry->getRunId()->willReturn(1234);
        $uuid = $this->resolver->resolve('latest');
        $this->assertEquals(1234, $uuid);
    }