I have a plist file that contains a top level dictionary and that dictionary contains an array of strings.
I want to test:
- That the dictionary is not nil
- That the array is not nil
- And that the array has at least one valid string object in it
I have these unit tests running great. Very de-coupled. But the problem is I have to make the class functions public in order for Xcode XCTest to be able to test them. These 3 functions are simply helper functions to get the actual data we need.
How do I employ proper visibility on these helper functions while keeping my tests? No one needs to know about these 3 functions, but I want them tested.