title: How to write a spock testcase for a method which calls other methods inside
body: <p>Say i have a method which populate some data to a list and it internally calls one more method(which i'm testing independently) and that populate some data to the list. Here what is the best way of testing?   </p>
  
  <p>How to test the outer Method? Should I check for the data's from inner Method also, else it is ok to test only the data's populated by outer method?</p>