public function testGetDistributionVersion($distribution, $distVersion)
{
// mock the configuration
$mockScanner = new MockAbstractScanner($this->getMockInitialContext(), 'TestScanner');
// check that the cache directory has been initialized successfully
$this->assertSame($distVersion, $mockScanner->testableGetDistributionVersion($distribution));
}