I have a method in which the return type is Object. How can I create testcase for this? How to mention the result should be a object?
My exact method is here.
public Object getData(String type, String expression)
{
// do something here
return Object;
}
How can I write a testcase for this method?