Java 类org.mockito.internal.matchers.Or 实例源码

项目:astor    文件:ArgumentMatcherStorageImpl.java   
public HandyReturnValues reportOr() {
    assertState(!matcherStack.isEmpty(), "No matchers found.");
    Or or = new Or(popLastArgumentMatchers(2));
    matcherStack.push(new LocalizedMatcher(or));
    return new HandyReturnValues();
}
项目:astor    文件:ArgumentMatcherStorageImpl.java   
public HandyReturnValues reportOr() {
    assertStateFor("Or(?)", TWO_SUB_MATCHERS);
    Or or = new Or(popLastArgumentMatchers(TWO_SUB_MATCHERS));
    matcherStack.push(new LocalizedMatcher(or));
    return new HandyReturnValues();
}