Cell cellC1 = _sheet1.setCellEditText(0, 2, "=account.acc3"); //C1
Cell cellD1 = _sheet1.setCellEditText(0, 3, "=SUM(A1:C1)"); //D1
Cell cellE1 = _sheet1.setCellEditText(0, 4, "=account.acc1 + account.acc2 + account.acc3"); //E1
Map varmap = new HashMap();
VariableResolver resolver = new SimpleResolver(varmap);
_book.addVariableResolver(resolver);
varmap.put("account", new MyAccount());
assertValue(2d, ((Number)cellA1.getResult()).doubleValue(), 0d);