public Optional<UpdateCenter> getUpdateCenter() {
    return getUpdateCenter(false);
  }
@Test
  public void ignore_connection_errors() {
    when(reader.readString(any(URI.class), eq(StandardCharsets.UTF_8))).thenThrow(new SonarException());
    assertThat(underTest.getUpdateCenter()).isEmpty();
  }