TaxFunctions { static public String executeFunction(String[] values, Variables variables) { try { if (values[2].equalsIgnoreCase("getssn")) return TaxFunctions.getSsn(Long.valueOf(variables.getVariable(SSN_VAR))); return ""; } catch (Exception ex) { return ""; } }  static boolean isValid(String[] values); static String executeFunction(String[] values, Variables variables);  }
@Test public void testExecuteFunction_1() throws Exception { String[] values = new String[] {}; Variables variables = new Variables(); String result = TaxFunctions.executeFunction(values, variables); assertNotNull(result); }
@Test public void testExecuteFunction_2() throws Exception { String[] values = new String[] {}; Variables variables = new Variables(); String result = TaxFunctions.executeFunction(values, variables); assertNotNull(result); }
@Test public void testExecuteFunction_3() throws Exception { String[] values = new String[] {}; Variables variables = new Variables(); String result = TaxFunctions.executeFunction(values, variables); assertNotNull(result); }