Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 615 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 615 Bytes

MultipleService

This is an example how to collect data from multiple services. It is implemented using TDD, Adapter design pattern.

MainService is a protocol to abstract implementation detail. So the UI Layer doesn't know how the data come from.

MainServiceAdapter is a implementation of MainService that interact with other services to load, synchronise, combine and deliver data. The implementation is covered by Unit test.

Diagram

Screenshot 2021-12-19 at 3 57 52 PM