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