AFNetworking 2.4.1 has a bug that it crashes on unit testing (⌘u on Xcode). This is caused by addObserver
methods so I ignore them on unit testing.
@interface AFHTTPRequestSerializer (Test)
@end
@implementation AFHTTPRequestSerializer (Test)
- (void)addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context {
NSLog(@"ignore %s (keyPath=%@)", __FUNCTION__, keyPath);