function let(LdapConnectionInterface $connection, LdapObject $rootdse)
{
$domain = new DomainConfiguration('example.local');
$domain->setUseTls(true);
$connection->getConfig()->willReturn($domain);
$connection->getRootDse()->willReturn($rootdse);
$config = new Configuration();
$this->parser = new SchemaYamlParser($config->getSchemaFolder());
$this->schema = $this->parser->parse('ad', 'user');
}