@Test public void testFakeCodeResponse() { Response response = new Response(ResponseCode.CONTENT); Response faked = OptionJuggle.setFakeCodeResponse(response); assertEquals(ResponseCode.CHANGED, faked.getCode()); }
public static Response setFakeCodeResponse(Response response) { return responseWithNewCode(response, ResponseCode.CHANGED); }
OptionJuggle { public static Response setFakeCodeResponse(Response response) { return responseWithNewCode(response, ResponseCode.CHANGED); } }
OptionJuggle { public static Response setFakeCodeResponse(Response response) { return responseWithNewCode(response, ResponseCode.CHANGED); }  }
OptionJuggle { public static Response setFakeCodeResponse(Response response) { return responseWithNewCode(response, ResponseCode.CHANGED); }  static OptionSet prepareUoptions(OptionSet options); static OptionSet prepareEoptions(OptionSet options); static OptionSet discardEOptions(OptionSet optionSet); static Request setFakeCodeRequest(Request request); static Request setRealCodeRequest(Request request, Code realCode); static Response setFakeCodeResponse(Response response); static Response setRealCodeResponse(Response response, ResponseCode realCode); static OptionSet merge(OptionSet eOptions, OptionSet uOptions); }
OptionJuggle { public static Response setFakeCodeResponse(Response response) { return responseWithNewCode(response, ResponseCode.CHANGED); }  static OptionSet prepareUoptions(OptionSet options); static OptionSet prepareEoptions(OptionSet options); static OptionSet discardEOptions(OptionSet optionSet); static Request setFakeCodeRequest(Request request); static Request setRealCodeRequest(Request request, Code realCode); static Response setFakeCodeResponse(Response response); static Response setRealCodeResponse(Response response, ResponseCode realCode); static OptionSet merge(OptionSet eOptions, OptionSet uOptions);  }