spec\LdapTools\Operation\Invoker\LdapOperationInvokerSpec::it_should_skip_batch_operations_that_are_empty PHP Метод

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

public it_should_skip_batch_operations_that_are_empty ( OperationHandler $handler )
$handler LdapTools\Operation\Handler\OperationHandler
    function it_should_skip_batch_operations_that_are_empty(OperationHandler $handler)
    {
        $operation = new BatchModifyOperation('dc=foo,dc=bar', new BatchCollection());
        $handler->execute($operation)->shouldNotBeCalled(true);
        $this->addHandler($handler);
        $this->execute($operation);
    }