Testing.swift An example of three commmon means of mocking dependencies (collaborators) for unit testing in Swift. Usage git clone https://github.com/tkersey/Testing.swift Download Xcode 14 Open and select ⌘+U (Command + U) Procotol source test Inheritance source test Concrete instance (Preferred approach) source test