@Test
public void evaluate_MockData_ShouldBeWithinTolerance() throws CelloException {

  NetlistNode node = netlist.getVertexByName("$49");
  NetlistNode a = netlist.getVertexByName("a");
  NetlistNode b = netlist.getVertexByName("b");
  List<NetlistNode> inputs = new ArrayList<>();
  inputs.add(a);
  inputs.add(b);
  State<NetlistNode> state = new State<>(inputs, true, false, 1);
  EvaluationContext ec = new EvaluationContext();
  ec.setNode(node);
  ec.setState(state);
  AssignableDevice device = node.getResultNetlistNodeData().getDevice();
  UnivariateLookupTableFunction f =
      (UnivariateLookupTableFunction) device.getModel().getFunctionByName("toxicity");
  assert (Math.abs(f.evaluate(ec).doubleValue() - 0.885636) < TOLERANCE);
}