Diff of /branches/0.71/t/SOAP/Transport/LOCAL.t [r396] .. [r397]  Maximize  Restore

Switch to side-by-side view

--- a/branches/0.71/t/SOAP/Transport/LOCAL.t
+++ b/branches/0.71/t/SOAP/Transport/LOCAL.t
@@ -6,6 +6,13 @@
 my $transport;
 
 ok $transport = SOAP::Transport::LOCAL::Client->new();
+
+# call methods if known, pass through the rest as arguments
+#
+# ->new calls the methods $self->endpoint('local:main') and $self->options({}),
+# and calls SUPER::new("foo");
+#
+ok $transport = SOAP::Transport::LOCAL::Client->new(endpoint => 'local:main', options => [], "foo");
 is $transport, $transport->new() , '$transport->new() returns $transport';
 
 use_ok qw(SOAP::Lite);