]> git.saurik.com Git - apple/security.git/blobdiff - SharedMocks/NSXPCConnectionMock.h
Security-59306.11.20.tar.gz
[apple/security.git] / SharedMocks / NSXPCConnectionMock.h
diff --git a/SharedMocks/NSXPCConnectionMock.h b/SharedMocks/NSXPCConnectionMock.h
new file mode 100644 (file)
index 0000000..aa4f448
--- /dev/null
@@ -0,0 +1,18 @@
+//
+//  NSXPCConnectionMock.h
+//  Security_ios
+//
+//  Created by Love Hörnquist Ã…strand on 12/16/18.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface NSXPCConnectionMock : NSObject
+- (instancetype) initWithRealObject:(id)reality;
+- (id)remoteObjectProxyWithErrorHandler:(void(^)(NSError * _Nonnull error))failureHandler;
+- (id)synchronousRemoteObjectProxyWithErrorHandler:(void(^)(NSError * _Nonnull error))failureHandler;
+@end
+
+NS_ASSUME_NONNULL_END