@Test
public void processVideo_ProcessingFailed_ReturnsNull() {

    MockInterceptor okHttpMockInterceptor = new MockInterceptor();
    okHttpMockInterceptor.addRule()
            .get()
            .urlStarts("https://jumpcutter.letum.ch/process")
            .answer(request -> new Response.Builder().code(500));
    OkHttpClient okHttpClient = new OkHttpClient.Builder()
            .addInterceptor(okHttpMockInterceptor)
            .build();
    ServerWrapper server = new ServerWrapper(okHttpClient, null);
    SettingsProvider settingsProviderMock = Mockito.mock(SettingsProvider.class);
    String response = server.processVideo(null, settingsProviderMock);
    Assert.assertEquals(null, response);
}