public void check() throws Exception { TypeAdapter adapter = TypeAdapter.on(actor, method(0)); check(cells.more.more, adapter); }
public void check() throws Throwable { Method checkMethod = tryFindMethodWithArgs(0); Class<?> returnType = checkMethod.getReturnType(); Parse checkValueCell = cells.more.more; if (checkValueCell == null) throw new FitFailureException("You must specify a value to check."); check(checkValueCell, getTypeAdapter(checkMethod, returnType)); }
public void check() throws Throwable { Method checkMethod = tryFindMethodWithArgs(0); Class<?> returnType = checkMethod.getReturnType(); Parse checkValueCell = cells.more.more; if (checkValueCell == null) throw new FitFailureException("You must specify a value to check."); check(checkValueCell, getTypeAdapter(checkMethod, returnType)); }
@Override public void check(CellWrapper<Parse> valueCell, RestDataTypeAdapter adapter) { valueCell.body(Tools.toHtml(valueCell.body())); fixture.check(valueCell.getWrapped(), adapter); }