I\'ve to write test class for my apex class. But got stuck on one of the method. Need help to have following method covered. How can we define test class for following apex