I am doing a unit testing.
there is a method where xml need to be passed , in the method the parameter type is String
I have the xml file in my laptop.
can some one suggest me how we can pass this xml file data to the method ?
I am doing a unit testing.
there is a method where xml need to be passed , in the method the parameter type is String
I have the xml file in my laptop.
can some one suggest me how we can pass this xml file data to the method ?
need more clarification
I guess, that the String varibale is the path name of the xml-file on your laptop: e.g.
"D:\\temp\\the_xmlfile.xml"