public function testDeleteFieldData()
{
$versionInfo = new VersionInfo(array('versionNo' => 24));
$fieldIds = array(12, 23, 34);
$gateway = $this->getGatewayMock();
foreach ($fieldIds as $index => $id) {
$gateway->expects($this->at($index))->method('unlinkUrl')->with($id, 24);
}
$storage = $this->getPartlyMockedStorage(array('getGateway'));
$storage->expects($this->once())->method('getGateway')->with($this->getContext())->will($this->returnValue($gateway));
$storage->deleteFieldData($versionInfo, $fieldIds, $this->getContext());
}