model method getAllOfSector
improved tests through mockups