org.test4j.module.jmockit.extend
类 ExpectationsResult
java.lang.Object
org.test4j.module.jmockit.extend.ExpectationsResult
- 直接已知子类:
- InvokeTimes
public class ExpectationsResult
- extends Object
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currExpectations
protected Test4JInvocations currExpectations
ExpectationsResult
protected ExpectationsResult(Test4JInvocations expectations)
thenReturn
public void thenReturn(Object o)
thenReturnFrom
public void thenReturnFrom(Class claz,
String json)
- return value parsed from xml file
- 参数:
claz - the class of the return objectjson -
thenReturnFrom
public void thenReturnFrom(Class claz,
Class clazPath,
String json)
- return value parsed from xml file
- 参数:
claz - the class of the return objectpath - class path of the xml filejson -
thenReturn
public void thenReturn(Object o,
Object... os)
thenThrows
public void thenThrows(Throwable e)
thenThrows
public void thenThrows(Throwable e,
Throwable... es)
Copyright © 2013. All rights reserved.