spec\LdapTools\Object\LdapObjectManagerSpec::it_should_not_try_to_modify_an_ldap_object_that_has_not_changed PHP Метод

it_should_not_try_to_modify_an_ldap_object_that_has_not_changed() публичный Метод

    function it_should_not_try_to_modify_an_ldap_object_that_has_not_changed($connection)
    {
        $ldapObject = new LdapObject(['dn' => 'cn=user,dc=foo,dc=bar'], 'user');
        $connection->execute(Argument::any())->shouldNotBeCalled();
        $this->persist($ldapObject);
    }