Method chaining is used to enable checking common preconditions to methods in a single line of code:
Verification verify = new Verification(); verify.fileOpened().forwardOnly().columnIndex(columnIndex);
The individual methods will automatically throw exceptions if the stated conditions do not hold. @author Johannes Rössel
|
|