    @Test
    public void testFailure() throws Exception {

        Request request = new Request.Builder()
                .url("https://www.google.com/404")
                .build();

        client.newCall(request).enqueue(new EasyOkCallback() {
            @Override
            public void success(@NonNull Response response) {
                Assert.fail("call should have failed");
            }

            @Override
            public void failure(Throwable t) {
            }
        });
    }