Lines Matching defs:MockControl

25  * A <code>MockControl</code> object controls the behavior of its associated

34 public class MockControl<T> implements Serializable {
42 protected MockControl(MocksControl ctrl, Class<T> toMock) {
49 * <code>MockControl</code> and its associated mock object will not check
58 public static <T> MockControl<T> createControl(Class<T> toMock) {
59 return new MockControl<T>((MocksControl) EasyMock.createControl(),
65 * <code>MockControl</code> and its associated mock object will check the
74 public static <T> MockControl<T> createStrictControl(Class<T> toMock) {
75 return new MockControl<T>(
81 * <code>MockControl</code> and its associated mock object will not check
90 public static <T> MockControl<T> createNiceControl(Class<T> toMock) {
91 return new MockControl<T>((MocksControl) EasyMock.createNiceControl(),
458 * Same as {@link MockControl#setReturnValue(Object)}. For explanation, see
476 * Same as {@link MockControl#setReturnValue(Object, Range)}. For
499 * Same as {@link MockControl#setReturnValue(Object, int)}. For
520 * Same as {@link MockControl#setReturnValue(Object, int, int)}. For
542 * Same as {@link MockControl#setThrowable(Throwable)}. For explanation,
554 * Same as {@link MockControl#setThrowable(Throwable, Range)}. For
570 * Same as {@link MockControl#setThrowable(Throwable, int)}. For
584 * Same as {@link MockControl#setThrowable(Throwable, int, int)}. For
600 * Same as {@link MockControl#setDefaultReturnValue(Object)}. For
615 * Same as {@link MockControl#setDefaultThrowable(Throwable)}. For