function it_should_allow_setting_the_query_operation() { $operation = clone $this->operation; $operation->setBaseDn('dc=foo,dc=bar'); $this->setQueryOperation($operation); $this->getQueryOperation()->getBaseDn()->shouldBeEqualTo('dc=foo,dc=bar'); }