• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

MissingMethodException on unit test case

Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
below code snippet is my unit test case code for groovy class

public void testUserList(){

 def userList =  [['name':'12345678', 'actual_name':'Paul allan']]
 List<User>  tempList = new ArrayList<User>()

 def query, closure ->
 apply1 = new apply1(<connection string goes here>,
 <username>, <password>,

while running this test case in Eclipse Luna using maven build getting below error
[ERROR]   com.double.example.application.appMockTest#testUserList MissingMethodException

any one of you could please throw some light on this. how to fix.  
Note: saw few online discussions but nothing worked out.

Thanks in advance.

CAUTION! Do not touch the blades on your neck propeller while they are active. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic