A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to Mock
Joined: Jul 01, 2013
Jul 23, 2013 06:27:26
Hello , I am new to coderanch . I want some step by step guidance to use PowerMockito to mock objects and to mock calls to the database which are in a code. I will elaborate with code I have
Suppose there is a handler class :
which makes a call to the db to get a status and than update the database with changes made in the status.I need to
this handler using
Thank you in advance .
Please try and help me out on this .Breaking my head on this past 2 weeks
Joined: Feb 26, 2001
Sep 07, 2013 15:31:29
What have you tried that didn't work?
Junilu - [
How to Ask Questions
How to Answer Questions
I agree. Here's the link:
subject: How to Mock
howto drop operation name from message for wrapped document style wsdl
jQuery event handlers
Deploy JAXWS (Mustang) WS to Tomcat?
Reading a string in C++ and sending to Java using JNI
How does CMP Bean works
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014