/**
  * @dataProvider aceTypesProvider
  */
 public function testDeleteAce($type, $field)
 {
     $index = 1;
     $mask = 123;
     $strategy = 'any';
     if ($field === null) {
         $this->acl->expects($this->once())->method('delete' . $type . 'Ace')->with($this->equalTo($index));
     } else {
         $this->acl->expects($this->once())->method('delete' . $type . 'FieldAce')->with($this->equalTo($index), $this->equalTo($field));
     }
     $this->manipulator->deleteAce($this->acl, $type, $field, $index, $mask, $strategy);
 }