|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PartialMock<T>
Declares the contract for a controller object that enables defining the behavior of methods of a partial mock object, or for performing assert statements that verify that certain calls were effectively made. A method is also defined that provides access to the actual partial mock object.
If Unitils encounters a field declared asPartialMock, a MockObject is automatically instantiated and
assigned to the declared field. This mock object will use the original implementation of each method as default
behavior.
| Method Summary |
|---|
| Methods inherited from interface org.unitils.mock.Mock |
|---|
assertInvoked, assertInvokedInSequence, assertNotInvoked, getMock, oncePerforms, onceRaises, onceRaises, onceReturns, performs, raises, raises, resetBehavior, returns |
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||