public function itThrowsAnExceptionWhenLdapIdNotFound() { $this->expectException('User\\XML\\Import\\UserNotFoundException'); $this->collection->getUserById('unknown'); }