function it_should_throw_an_exception_when_the_OID_in_the_ldap_control_is_not_in_the_correct_format()
{
$ldif = file_get_contents(__DIR__ . '/../../resources/ldif/fail_invalid_control.txt');
$e = new LdifParserException('The control directive has an invalid OID format "foo" on line number 3 near "control: foo"');
$this->shouldThrow($e)->duringParse($ldif);
}