//___FILEHEADER___ import XCTest @testable import ___PACKAGENAME___ class ___FILEBASENAMEASIDENTIFIER___: XCTestCase { // MARK: - Spies class PresenterSpy: ___VARIABLE_productName___Presentable { // var presentLoadingViewCalled = false // var presentErrorCalled = false // var presentLoading: Bool = false // var error: Error? // func presentLoadingView(_ show: Bool) { // presentLoadingViewCalled = true // presentLoading = show // } // // func present(_ error: Error) { // presentErrorCalled = true // self.error = error // } } class WorkerSpy: ___VARIABLE_productName___DataProvidable { } // MARK: - Properties var sut: ___VARIABLE_productName___Interactor! var presenterSpy: PresenterSpy! var workerSpy: WorkerSpy! // MARK: - Setup override func setUp() { super.setUp() presenterSpy = PresenterSpy() workerSpy = WorkerSpy() sut = ___VARIABLE_productName___Interactor(presenter: presenterSpy, worker: workerSpy) } // MARK: - Tests func test() { } }