Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MissingMethodException on unit test case  RSS feed

Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • 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.

Squanch that. And squanch this tiny ad:
Why should you try IntelliJ IDEA ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!