KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > easymock > internal > IMockControlState


1 /*
2  * Copyright (c) 2001-2005 OFFIS. This program is made available under the terms of
3  * the MIT License.
4  */

5 package org.easymock.internal;
6
7 import java.lang.reflect.InvocationHandler JavaDoc;
8
9 import org.easymock.ArgumentsMatcher;
10
11 public interface IMockControlState extends InvocationHandler JavaDoc {
12
13     void replay();
14
15     void verify();
16
17     void setDefaultMatcher(ArgumentsMatcher matcher);
18
19     void setMatcher(ArgumentsMatcher matcher);
20
21     void setVoidCallable(Range range);
22
23     void setThrowable(Throwable JavaDoc throwable, Range range);
24
25     void setReturnValue(boolean value, Range range);
26
27     void setReturnValue(long value, Range range);
28
29     void setReturnValue(float value, Range range);
30
31     void setReturnValue(double value, Range range);
32
33     void setReturnValue(Object JavaDoc object, Range range);
34
35     void setDefaultVoidCallable();
36
37     void setDefaultThrowable(Throwable JavaDoc throwable);
38
39     void setDefaultReturnValue(boolean value);
40
41     void setDefaultReturnValue(long value);
42
43     void setDefaultReturnValue(float value);
44
45     void setDefaultReturnValue(double value);
46
47     void setDefaultReturnValue(Object JavaDoc value);
48 }
Popular Tags