public function testLdapApplyOperationsRemoveAllWithArrayError() { $entryManager =
$this->adapter->
getEntryManager();
$result =
$this->
executeSearchQuery(1
);
$entry =
$result[0
];
$this->
expectException(UpdateOperationException::
class);
$entryManager->
applyOperations($entry->
getDn(),
[new UpdateOperation(\LDAP_MODIFY_BATCH_REMOVE_ALL, 'mail',
[])]);
} public function testLdapApplyOperationsWithWrongConstantError() { $entryManager =
$this->adapter->
getEntryManager();
$result =
$this->
executeSearchQuery(1
);
$entry =
$result[0
];
$this->
expectException(UpdateOperationException::
class);