@Test
public void thatCanHandleExceptionWithAnInlineResponse() throws IOException {

    enqueueServerError(mMockServer, 500);
    HaloResultV2<Device> result = mHalo.manager()
            .setNotificationsToken("mytoken")
            .executeInline();
    assertThat(result.data()).isNull();
    assertThat(result.status().isError()).isTrue();
}