1 // this class builds an AppLoader, starts a request,
2 // then waits for the AppLoader to succeed or fail
3 // and reports the result to the corresponding XCTestExpectation.
4 
5 #import <XCTest/XCTest.h>
6 
7 @interface EXAppLoaderRequestExpectation : NSObject
8 
9 - (instancetype)initWithUrl:(NSURL *)urlToRequest
10             expectToSucceed:(XCTestExpectation *)expectToSucceed
11                expectToFail:(XCTestExpectation *)expectToFail;
12 - (void)request;
13 
14 @property (nonatomic, readonly) EXDevelopmentHomeLoader *appLoader;
15 
16 @end
17