Hi,
I am having difficulties in passing params from my unit test case to a Service class method.

The service class method accepts params as input. Reads the params and puts the values into a object and returns back the object.

From my unit test I want to be able to test this method, by mocking up params. I want to be able to read this params in my service class method after the call has been invoked from the unit test.

This is a restful webservice implementation. Any help is appreciated.

Thanks,
Saral