public function testCommit()
{
$prefix = 'ns';
$returnValue = true;
$stub = $this->getHierarchyCacheStub();
$stub->expects($this->once())->method('commit')->willReturn($returnValue);
$pool = new PrefixedCachePool($stub, $prefix);
$this->assertEquals($returnValue, $pool->commit());
}