@Test
public void replaceExpressionWithEnv() {

    if (!System.getProperty("os.name").startsWith("Windows")) {
        String path = NetworkUtil.replaceExpression("Hello ${EnV:PATH} World");
        assertTrue(path.contains("bin"));
        assertTrue(path.startsWith("Hello"));
        assertTrue(path.endsWith("World"));
    }
}