Problem/Motivation
Currently includes/batch.inc contains a number of procedural functions which are not unit testable.
Proposed resolution
Move batch.inc to a service.
Currently includes/batch.inc contains a number of procedural functions which are not unit testable.
Move batch.inc to a service.