OpmUtils { static boolean isValidExpression(String s) { Validate.notNull(s); return !s.startsWith("$") || pattern.matcher(s).matches(); } private  OpmUtils();   }
@Test public void isValidExpression_startingDollar_false() { assertFalse(OpmUtils.isValidExpression("${hallo")); }