Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Junit Help  RSS feed

 
abeen sab
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone help in writing the testcase for the below class.

 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37234
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of object is ServiceControlHeaderParams? Is it something you can mock out?
 
abeen sab
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:What kind of object is ServiceControlHeaderParams? Is it something you can mock out?


it contains all the controols..parameters to pass in.. yes we need to mock out.. but i dont hav access to database..so
pro'ly use easyMock.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!