public function testApiCheckVersion_ReturnsTrue_WhenVersionIsEnabled()
{
$versioner = $this->createVersionManager();
$req = $this->getMock(HttpRequestInterface::class, [], [], '', false);
$version = $this->getMock(VersionInterface::class, [], [], '', false);
$version->expects($this->once())->method('isRequestSupported')->with($req)->will($this->returnValue(true));
$versioner->enableVersion($version);
$this->assertTrue($versioner->checkVersion($req));
}