public function testDeleteItem()
{
$namespace = 'ns';
$key = 'key';
$returnValue = true;
$stub = $this->getHierarchyCacheStub();
$stub->expects($this->once())->method('deleteItem')->with('|' . $namespace . '|' . $key)->willReturn($returnValue);
$pool = new NamespacedCachePool($stub, $namespace);
$this->assertEquals($returnValue, $pool->deleteItem($key));
}