function let() { $config = new DomainConfiguration('foo.bar'); $config->setLazyBind(true); $connection = new LdapConnection($config); $operation = new AddOperation('dc=foo,dc=bar'); $this->beConstructedWith('foo', $operation, $connection); }