### Question:
Environment { public static Boolean isEnvVarSet(String key) { return System.getenv(key) != null || System.getProperty(key) != null; } private  Environment(); static Boolean isEnvVarSet(String key); static String resolveEnvVars(String input); static InputStream fileResolveEnvVars(String path);  }### Answer:
@Test public void testIsEnvVarSet() { assertTrue(isEnvVarSet("etiqet.directory")); assertFalse(isEnvVarSet("MADE_UP_ENV_VAR")); assertTrue(isEnvVarSet("PATH")); }