© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
J. E. McDonoughAutomated Unit Testing with ABAPhttps://doi.org/10.1007/978-1-4842-6951-0_10

10. Leveraging the Service Locator

James E. McDonough1  
(1)
Pennington, NJ, USA
 

The previous chapter introduced the service locator and described how it could handle the various services required by the program as well as facilitate the use of test doubles during unit testing. At this point, the examples of services managed by the service locator were provided by local classes. It also is capable of managing program services and their respective unit testing doubles for global classes and function modules.

Also at this point, there remain some unresolved issues with ...

Get Automated Unit Testing with ABAP: A Practical Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.