function it_should_throw_an_exception_when_the_ldif_version_is_not_recognized()
{
$ldif = file_get_contents(__DIR__ . '/../../resources/ldif/fail_invalid_version.txt');
$e = new LdifParserException('LDIF version "2" is not currently supported. on line number 1 near "version: 2"');
$this->shouldThrow($e)->duringParse($ldif);
}