When testing private methods the compiler generates warning messages such as:
“Instance MethodheaderEncodingFromXML:not found.”
The solution is to add an Informal Protocol:
@interface SegmentedParse (TestingInformalProtocol)
- (NSString *)headerEncodingFromXML:(NSString *)xml;
@end