function let() { $config = new DomainConfiguration('example.local'); $config->setLdapType(LdapConnection::TYPE_OPENLDAP); $this->beConstructedThrough('getInstance', [$config]); }