Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody,
I have developed a WCF application ,I want to do unit testing for it using visual studio
. My problem is the service method has objects like this .

C#
public ResponseDTO GetMessagelists(RequestDTO request)


where ResponseDTO and RequestDTO are DTO consists of properties of different datatypes as well as another class object array, so how can I do the testing for service method that has request parameter as object and return type is also object .Check in internet it shows example for single data type .

Can anybody suggest some code or guide me .

Advance thanks,


Regards,
Arun
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900