kristiannissen/PHPEconomics — Issue #9: Find all debtors
Author: kristiannissen
Created: 2012-02-14 21:20:26+00:00
State: open

This function should return an array of debtor objects fully loaded with all their data on success, is no debtors exist the return should be an empty array.

function testDebtorGetAll() {
$debtors = debtor_get_all();
// We test that we get an array in retur, check it's length
$this->assertTrue(is_array($debtors));
}

The test case above exists.