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

    Map<String, String> fakeEnvironment = ImmutableMap.of("LOCALAPPDATA", fakeConfigHome);

    Assert.assertEquals(
        Paths.get(fakeConfigHome).resolve("Google").resolve("Jib").resolve("Config"),
        XdgDirectories.getConfigHome(fakeProperties, fakeEnvironment));
  }