function it_should_error_hydrating_to_ldap_if_an_array_is_not_used() { $this->shouldThrow('LdapTools\\Exception\\InvalidArgumentException')->duringHydrateToLdap(new LdapObject(['foo' => 'bar'])); }