@Test public void testRequestResponseAbuseFilter() throws Throwable {

    EditAbuseFilterResult expected = new EditAbuseFilterResult("abusefilter-disallowed",
            "Hit AbuseFilter: Editing user page by anonymous user",
            "<b>Warning:</b> This action has been automatically identified as harmful.\nUnconstructive edits will be quickly reverted,\nand egregious or repeated unconstructive editing will result in your account or IP address being blocked.\nIf you believe this action to be constructive, you may submit it again to confirm it.\nA brief description of the abuse rule which your action matched is: Editing user page by anonymous user");
    enqueueFromFile("edit_abuse_filter_result.json");
    EditClient.Callback cb = mock(EditClient.Callback.class);
    Call<Edit> call = request(cb, false);
    server().takeRequest();
    assertCallbackSuccess(call, cb, expected);
}