iOS, Swift, Swiftui, Mobile, Mobile App Development.
when implementing mocks for instance, with methods like XCTFail to verify that they aren’t called. struct ShowServiceMock: ShowService { var shows: [Show] func allShows() -> [Show] { shows } func allEpisodes(for show: Show) -> [Episode] { XCTFail("Shouldn't be called") return [] } func