File Coverage

blib/lib/Net/Braintree/WebhookTesting.pm
Criterion Covered Total %
statement 3 6 50.0
branch n/a
condition n/a
subroutine 1 3 33.3
pod 0 2 0.0
total 4 11 36.3


line stmt bran cond sub pod time code
1             package Net::Braintree::WebhookTesting;
2              
3 1     1   3 use Moose;
  1         1  
  1         5  
4              
5             my $meta = __PACKAGE__->meta;
6              
7             sub sample_notification {
8 0     0 0   my ($class, $kind, $id) = @_;
9              
10 0           return $class->gateway->webhook_testing->sample_notification($kind, $id);
11             }
12              
13             sub gateway {
14 0     0 0   return Net::Braintree->configuration->gateway;
15             }
16              
17             1;