atunit
Annotation Type Mock


@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.

Author:
Logan Johnson <logan.johnson@gmail.com>
See Also:
MockFramework, MockFrameworkClass, ExampleJMockTest.java, ExampleEasyMockTest.java