File Coverage

lib/WebService/Braintree/WebhookTesting.pm
Criterion Covered Total %
statement 8 11 72.7
branch n/a
condition n/a
subroutine 3 5 60.0
pod 0 2 0.0
total 11 18 61.1


line stmt bran cond sub pod time code
1             package WebService::Braintree::WebhookTesting;
2             $WebService::Braintree::WebhookTesting::VERSION = '0.94';
3 20     20   448 use 5.010_001;
  20         70  
4 20     20   106 use strictures 1;
  20         147  
  20         827  
5              
6 20     20   2186 use Moose;
  20         42  
  20         171  
7              
8             sub sample_notification {
9 0     0 0   my ($class, $kind, $id) = @_;
10              
11 0           return $class->gateway->webhook_testing->sample_notification($kind, $id);
12             }
13              
14             sub gateway {
15 0     0 0   return WebService::Braintree->configuration->gateway;
16             }
17              
18             __PACKAGE__->meta->make_immutable;
19              
20             1;
21             __END__