1# Before `make install' is performed this script should be runnable with 2# `make test'. After `make install' it should work as `perl Business-PayPal-EWP.t' 3 4######################### 5 6# change 'tests => 1' to 'tests => last_test_to_print'; 7 8use Test::More tests => 2; 9BEGIN { use_ok('Business::PayPal::EWP') }; 10TODO: { 11 local $TODO="PKCS7 block seems to differ each time"; 12 is(Business::PayPal::EWP::SignAndEncrypt("Testing, 123!","test.key","test.crt","paypal.pem"),join("",<DATA>),"Ran SignAndEncrypt"); 13} 14######################### 15 16# Insert your test code below, the Test::More module is use()ed here so read 17# its man page ( perldoc Test::More ) for help writing this test script. 18 19__DATA__ 20