function it_should_detect_circular_references_in_parameters()
{
$attributes = ['firstName' => '%lastName%', 'lastName' => '%firstName%', 'username' => 'foo'];
$this->beConstructedWith($attributes, []);
$this->shouldThrow('LdapTools\\Exception\\LogicException')->duringResolve();
}