Sha256: 0f733ba1a8c014c8b9416a4229fe449f6c5d9079c0095764bc8d036615eb7b5d

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 KB

Contents

//___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() {
        
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blue_printer-0.1.1 VIP Architecture.xctemplate/___FILEBASENAME___InteractorTests.swift
blue_printer-0.1.0 VIP Architecture.xctemplate/___FILEBASENAME___InteractorTests.swift