XCTestExpectation* exception = [self expectationWithDescription:@"metadata"];
NetWrok *req = [NetWrok new] ; [req startWithCompletionBlockWithSuccess:^(LDBaseRequest *request) { [exception fulfill]; } failure:^(LDBaseRequest *request) { XCTAssertNil(request.error); [exception fulfill]; }];
[self waitForExpectationsWithTimeout:50 handler:^(NSError * _Nullable error) { XCTAssertNil(error); }];
|