public boolean isEmpty() {
    return username() == null && password() == null && privateKey() == null && passPhrase() == null;
  }
@Test
  public void isEmpty_givenHalfNotNullProperties_returnFalse() {
    MapSettings settings = new MapSettings(new PropertyDefinitions(System2.INSTANCE));
    settings.setProperty("sonar.svn.password.secured", "bob");
    settings.setProperty("sonar.svn.passphrase.secured", "bob");

    SvnConfiguration svnConfiguration = new SvnConfiguration(settings.asConfig());

    assertThat(svnConfiguration.isEmpty()).isFalse();
  }