class CombineTests: XCTestCase {

    let session = URLSession.shared
    
    func testCombineAwait() {
        let publisher = session.dataTaskPublisher(for: .testImageURL).map(\.data)
        testImageDownload(publisher: publisher)
    }

    func testCompineSubscriptions() {
        let publisher = session.data(for: .testImageURL).map(\.data)
        testImageDownload(publisher: publisher)
    }