My iOS app (Swift 5.3) has the structure below for the API and unit testing via mocking.
This does allow to test some aspects with a mocked-up API, but it\'s