25.3. Values in FitNesse and the Flow FixturesThe FitNesse version of Fit checks whether the class of the value concerned has a static method parse() that takes a String and returns an object of that class. Fit uses this method if it exists. In that case, because class Money has the appropriate parse() method, the parse() method in Listing 25.1 is not needed. This approach is also used with the FitLibrary fixtures, as discussed in Section 28.11 on p. 245. |