com.google.api.ads.common.lib.soap.testing
Interface MockSoapClientInterface

All Known Implementing Classes:
MockSoapClient

public interface MockSoapClientInterface

Mock SOAP client interface with a few methods.

Author:
Adam Rogal

Method Summary
 void emptyCall()
          Empty call.
 Object identityCall(Object[] arg)
          Returns the passed in arg as a single Object.
 Object identityCallSingle(Object arg)
          Returns the passed in arg as a single Object.
 Object lotsOfArgsCall(Object arg, Object[] arg1, Object arg2, Object arg3)
          Returns the passed in arg as a single Object.
 Object testOverloaded(int arg1)
          Returns arg1 and has an overloaded name.
 Object testOverloaded(String arg1, String arg2)
          Returns arg1 and has an overloaded name.
 Object throwException(Object[] arg)
          Throws an exception.
 void voidCall(Object[] arg)
          Void call.
 

Method Detail

identityCall

Object identityCall(Object[] arg)
Returns the passed in arg as a single Object.


identityCallSingle

Object identityCallSingle(Object arg)
Returns the passed in arg as a single Object.


testOverloaded

Object testOverloaded(String arg1,
                      String arg2)
Returns arg1 and has an overloaded name.


testOverloaded

Object testOverloaded(int arg1)
Returns arg1 and has an overloaded name.


lotsOfArgsCall

Object lotsOfArgsCall(Object arg,
                      Object[] arg1,
                      Object arg2,
                      Object arg3)
Returns the passed in arg as a single Object.


voidCall

void voidCall(Object[] arg)
Void call.


emptyCall

void emptyCall()
Empty call.


throwException

Object throwException(Object[] arg)
Throws an exception.



Copyright © 2012. All Rights Reserved.