//
//  SpecialistsUseCaseImplementationTests.swift
//  SpecialistsImplementationTests
//
//  Copyright © 2020 E-SOFT, OOO. All rights reserved.
//

import XCTest
import SpecialistsCore
import RxSwift
import RxBlocking

@testable import SpecialistsImplementation

final class SpecialistsUseCaseImplementationTests: XCTestCase {
  func testSpecialistsRequest() {
//    let mockRepository = SpecialistsRepositoryMock()
//    let useCase = SpecialistsUseCaseImplementation(specialistRepository: mockRepository)
//    
//    let success = try? useCase.invoke(request: SpecialistsRequest(page: 1)).toBlocking().toArray()
//    let result = success?.first
//    XCTAssert(result?.0.count == 1)
//    XCTAssert(result?.1 == 9)
//    XCTAssert(((error?.isEmpty) != nil))
//    XCTAssert(((successMySpecialists?.isEmpty) != nil))
  }
}
