[r418]: / trunk / t / SOAP / Serializer.t  Maximize  Restore  History

Download this file

13 lines (9 with data), 346 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use strict;
use warnings;
use Test::More tests => 3; #qw(no_plan);
use_ok qw(SOAP::Serializer);
my $obj = SOAP::Serializer->new();
is $obj->find_prefix('http://schemas.xmlsoap.org/soap/envelope/'), 'soap';
like $obj->envelope('method' => SOAP::Data->name('test')),
qr{ <test\s*/> }xms,
'Empty method call does not use xsi:nil="true"';