function it_should_aggregate_properly_on_modification($connection, $operation)
{
$entry = $this->entryTo;
$entry['disabled'] = true;
$entry['passwordNeverExpires'] = true;
$entry['trustedForAllDelegation'] = true;
unset($entry['groups']);
$connection->execute(new QueryOperation('(&(distinguishedName=\\63\\6e\\3d\\66\\6f\\6f\\2c\\64\\63\\3d\\66\\6f\\6f\\2c\\64\\63\\3d\\62\\61\\72)))', ['userAccountControl']))->willReturn($this->expectedResult);
$this->beConstructedWith($this->schema, $entry, AttributeConverterInterface::TYPE_CREATE);
$this->setLdapConnection($connection);
$this->setOperation($operation);
$this->setDn('cn=foo,dc=foo,dc=bar');
$this->toLdap()->shouldHaveKeyWithValue('userAccountControl', '590338');
$this->toLdap()->shouldHaveKeyWithValue('username', 'chad');
$this->toLdap()->shouldHaveKeyWithValue('emailAddress', '[email protected]');
$this->toLdap()->shouldHaveKeyWithValue('passwordMustChange', '0');
}