atunit
Annotation Type Stub


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Stub

This annotation is like Mock, except that the object provided by AtUnit is a dummy and is ignored by the mock objects framework.

The specific meaning of this annotation depends on the selected mock objects framework, but in general it should be used to fulfill dependencies which are irrelevant to the test.

Author:
Logan Johnson <logan.johnson@gmail.com>
See Also:
Mock