@Test
public void ping_ResourceNotFound_ReturnsFalse() {

    MockInterceptor okHttpMockInterceptor = new MockInterceptor();
    okHttpMockInterceptor.addRule()
            .get()
            .url("https://jumpcutter.letum.ch/")
            .answer(request -> new Response.Builder().code(404));
    OkHttpClient okHttpClient = new OkHttpClient.Builder()
            .addInterceptor(okHttpMockInterceptor)
            .build();
    ServerWrapper server = new ServerWrapper(okHttpClient, null);
    Boolean response = server.ping();
    Assert.assertEquals(false, response);
}