FitNesse. UserGuide. FitLibraryUserGuide. SetUpFixture.
WritingFixtures [add child]
Here's the code for the example table:
DiscountGroupsSetUp
future value max balance min purchase discount %
low 0.00 0.00 0
medium 0.00 500.00 5

public class DiscountGroupsSetUp extends fitlibrary.SetUpFixture {
DiscountApplication app = new DiscountApplication();
public void futureValueMaxBalanceMinPurchaseDiscountPercent(
String futureValue, double maxBalance, double minPurchase,
double discountPercent) {
app.addDiscountGroup(futureValue,maxBalance,
minPurchase,discountPercent);
}
}


For each row of the table, the method futureValueMaxBalanceMinPurchaseDiscountPercent() is called with each of the values.

In General