summary refs log tree commit diff
path: root/t/03_serialization.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-03 09:58:35 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-03 09:58:35 +0200
commit279995a5e1ef8142889c3cfa2f07a4082b0a52ab (patch)
treee5a138626e5019386ea179ff0824dfc43165b309 /t/03_serialization.t
parentupdate POD (diff)
downloadmoosex-net-api-279995a5e1ef8142889c3cfa2f07a4082b0a52ab.tar.gz
basic tests for serialization
Diffstat (limited to 't/03_serialization.t')
-rw-r--r--t/03_serialization.t10
1 files changed, 9 insertions, 1 deletions
diff --git a/t/03_serialization.t b/t/03_serialization.t
index 333d12e..5fa45c2 100644
--- a/t/03_serialization.t
+++ b/t/03_serialization.t
@@ -2,4 +2,12 @@ use strict;
 use warnings;
 use Test::More;
 
-my $parser = MooseX::Net::API::
+use MooseX::Net::API::Parser::XML;
+use MooseX::Net::API::Parser::JSON;
+use MooseX::Net::API::Parser::YAML;
+
+ok my $xml_parser = MooseX::Net::API::Parser::XML->new();
+ok my $yaml_parser = MooseX::Net::API::Parser::YAML->new();
+ok my $json_parser = MooseX::Net::API::Parser::JSON->new();
+
+done_testing;