t/LWP/Authen/OAuth2/ServiceProvider/Dwolla.t
raw| 1 | #! /usr/bin/env perl |
| 2 | use 5.006; |
| 3 | use strict; |
| 4 | use warnings FATAL => 'all'; |
| 5 | use Test::More; |
| 6 | |
| 7 | use FindBin qw($Bin); |
| 8 | use lib "$Bin/../../../../../lib"; |
| 9 | |
| 10 | BEGIN { |
| 11 | use_ok( 'LWP::Authen::OAuth2::ServiceProvider::Dwolla' ) || print "Bail out!\n"; |
| 12 | use LWP::Authen::OAuth2; |
| 13 | |
| 14 | my $oauth2 = LWP::Authen::OAuth2->new( |
| 15 | client_id => 'Test', |
| 16 | client_secret => 'Test', |
| 17 | service_provider => "Dwolla", |
| 18 | ); |
| 19 | isa_ok($oauth2, 'LWP::Authen::OAuth2'); |
| 20 | } |
| 21 | |
| 22 | done_testing(); |