public Optional<String> branch() {
    return configuration.get(BRANCH_NAME);
  }
@Test
  public void should_define_branch_name() {
    settings.setProperty("sonar.branch.name", "name");
    assertThat(underTest.branch()).isEqualTo(Optional.of("name"));
  }