public static Path getConfigHome() {
    return getConfigHome(System.getProperties(), System.getenv());
  }
@Test
  public void testGetConfigHome_linux() {
    Properties fakeProperties = new Properties();
    fakeProperties.setProperty("user.home", fakeConfigHome);
    fakeProperties.setProperty("os.name", "os is LiNuX");

    Assert.assertEquals(
        Paths.get(fakeConfigHome, ".config").resolve("google-cloud-tools-java").resolve("jib"),
        XdgDirectories.getConfigHome(fakeProperties, Collections.emptyMap()));
  }