private static Mediator ensureSane(Mediator mediator) throws Exception {
    String quickTestPath = SystemInfo.isWindows ? "C:\\" : "/";
    mediator.getAttributes(quickTestPath);
    return mediator;
  }
private static Mediator ensureSane(Mediator mediator)