January 2020
Intermediate to advanced
640 pages
16h 56m
English
For the purpose of demonstrating the creation and use of mocks in our code, we will be working with the example code from the Chapter04/dependency package. This package defines a Collector type whose purpose is to assemble a set of direct and indirect (transitive) dependencies for a given project ID. To make things a bit more interesting, let's assume that each dependency can belong to one of the following two categories:
To obtain the list of direct dependencies and their respective types, the ...