public static String substVars(String val, PropertyContainer pc1) {
    return substVars(val, pc1, null);
  }
@Test
  public void doesNotThrowNullPointerExceptionForEmptyVariable() throws JoranException {
    context.putProperty("var", "");
    OptionHelper.substVars("${var}", context);
  }