Step 3: Unit testing

Unit testing is without any doubts one of the most effective ways to detect bugs early and to write more reliable and maintainable code. Unit testing is therefore fully integrated in Obix and easy to use.

To check whether factory fa_contribution works as it is supposed to work we should now write a unit test. Proceed as follows: