/** * @expectedException InvalidArgumentException * @dataProvider fromLdapDateTimeException */ public function testFromLdapDateTimeThrowsException($value) { Converter::fromLdapDatetime($value); }