Closed phildow closed 5 years ago
MockSessionDataTask *task = (MockSessionDataTask*)[client GETTaskWithTaskId:@"task-id" callback:^(TIOFleaTask * _Nullable task, NSError * _Nullable error) { [expectation fulfill]; XCTAssertNil(error); XCTAssertNotNil(task); XCTAssertEqualObjects(task.modelId, @"model-id"); XCTAssertEqualObjects(task.hyperparametersId, @"hyperparameters-id"); XCTAssertEqualObjects(task.checkpointId, @"checkpoint-id"); // ... }];