5 use Catalyst::Authentication::Store::LDAP::User;
7 my $message = 'I exist';
11 use base 'Catalyst::Authentication::Store::LDAP::User';
13 return unless pop eq 'exists';
18 my $o = bless {}, 'TestUser';
20 is($o->exists, $message, 'AUTOLOAD proxies ok');
22 ok(my $meth = $o->can('exists'), 'can returns true');
24 is($o->$meth, $message, 'can returns right coderef');