Java 类org.kohsuke.stapler.BindInterceptor 实例源码

项目:jenkins-github-pull-request-comments    文件:GhprcTestUtil.java   
@SuppressWarnings("unchecked")
private static void setupReq() {
    req = Mockito.mock(RequestImpl.class);
    given(req.bindJSON(any(Class.class), any(JSONObject.class))).willCallRealMethod();
    given(req.bindJSON(any(Class.class), any(Class.class), any(JSONObject.class))).willCallRealMethod();
    given(req.setBindListener(any(BindInterceptor.class))).willCallRealMethod();
    req.setBindListener(BindInterceptor.NOOP);

}
项目:parameterized-scheduler    文件:ParameterizedStaplerRequest.java   
@Override
public BindInterceptor getBindInterceptor() {
    return null;
}
项目:parameterized-scheduler    文件:ParameterizedStaplerRequest.java   
@Override
public BindInterceptor setBindListener(BindInterceptor bindListener) {
    return null;
}