These are run once, before the main test methods in this module.
Creates a new borrower to be used by the testing methods. Also populates the class hash with values to be compared from the database retrieval.
Tests the functionality of the GetMemberDetails method in C4::Members. Validates the join on categories table works as well as the extra fields the method gets from outside of either the borrowers and categories table like amountoutstanding and user flags.
This method tests the capability of GetMemberDetails to search on cardnumber. There doesn't seem to be any current calls to GetMemberDetail using cardnumber though, so this test may not be necessary.
These get run once, after the main test methods in this module.
Removes references in the Class to the new borrower created in the startup methods.