I am having trouble writing a FitNesse test for my application.
The test in itself is pretty simple.
We setup a loan, it has a few properies (Principal, Interest, Fees).
There is another object, Rules, which contains properties for paying back the loan.
The Loan class has a method called SplitLoan hat takes a Rules object, and will return a list of payments that need to be made.
A Payment would contain a total Amount, as well as individual amounts for Principal, Interest, and Fees.
How do I write this as a test in FitNesse?
I can't even get the call to happen because I don't know how I setup the Rules object that gets passed into the SplitLoan function.