@Override
  public CiConfiguration loadConfiguration() {
    String revision = system.envVariable("BITBUCKET_COMMIT");
    return new CiConfigurationImpl(revision, getName());
  }
@Test
  public void configuration_of_pull_request() {
    setEnvVariable("CI", "true");
    setEnvVariable("BITBUCKET_COMMIT", "abd12fc");
    setEnvVariable("BITBUCKET_PR_ID", "1234");

    assertThat(underTest.loadConfiguration().getScmRevision()).hasValue("abd12fc");
  }