function it_should_throw_an_error_if_no_options_exist_for_the_current_attribute($connection) { $this->setLdapConnection($connection); $this->shouldThrow('\\LdapTools\\Exception\\AttributeConverterException')->duringToLdap('foo'); }