  @Test
  public void nullSchedulerThrows() {

    try {
      RxJava3CallAdapterFactory.createWithScheduler(null);
      fail();
    } catch (NullPointerException e) {
      assertThat(e).hasMessage("scheduler == null");
    }
  }