2 # reported by Christine Spang (RT #53286)
15 # app_handle should not be undef here!
16 default => sub { shift->app_handle->handle() },
34 my $foo = Foo->new( app_handle => $self->app_handle );
46 # print "This works correctly.\n";
57 use Test::More tests => 2;
60 my $bar = Bar->new( app_handle => Baz->new() );
61 ok($bar, "Test class Bar instantiated w/attribute app_handle Baz");
63 # Trigger the default sub of baz's handle attribute, which tries to call
64 # a method on an attribute which was set to an object passed in via the
66 lives_and { is($bar->do_something(), 1, "attribute was passed in okay") };