function it_should_aggregate_values_when_converting_a_bool_to_ldap_on_modification($connection)
{
$connection->execute(Argument::that($this->expectedOp))->willReturn($this->expectedResult);
$this->setOperationType(AttributeConverterInterface::TYPE_MODIFY);
$this->getShouldAggregateValues()->shouldBeEqualTo(true);
$this->setAttribute('disabled');
$this->toLdap(true)->shouldBeEqualTo('514');
$this->setLastValue('514');
$this->setAttribute('enabled');
$this->toLdap(true)->shouldBeEqualTo('512');
$this->setLastValue('512');
$this->toLdap(false)->shouldBeEqualTo('514');
$this->setLastValue('514');
$this->setAttribute('passwordNeverExpires');
$this->toLdap(true)->shouldBeEqualTo('66050');
}