-
Feb 17th, 2010, 04:52 PM
#1
How to pass params to a Service class test
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules