function it_should_throw_an_exception_when_the_directive_for_the_changetype_is_not_valid()
{
$ldif = file_get_contents(__DIR__ . '/../../resources/ldif/fail_invalid_changetype_directive.txt');
$e = new LdifParserException('Directive "foo" is not valid for a "moddn" changetype on line number 3 near "foo: bar"');
$this->shouldThrow($e)->duringParse($ldif);
}