|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Mock
Fields with this annotation are populated with mock objects created using the configured framework.
A framework is chosen via the MockFramework
or MockFrameworkClass
annotation on the test class.
MockFramework
,
MockFrameworkClass
,
ExampleJMockTest.java,
ExampleEasyMockTest.java
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |