public function testApiGetVersion_ReturnsNull_WhenVersionIsSetButNotSupported()
{
$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(false));
$versioner->enableVersion($version);
$this->assertSame(null, $versioner->getVersion($req));
}