Sha256: 6c97489d24fa2564750e1f47ef578d9f29843cbf10dfefa3e00aab9d0223d2e5

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

//___FILEHEADER___

import XCTest
@testable import ___PROJECTNAME___

class ___FILEBASENAMEASIDENTIFIER___: XCTestCase {
    
    // MARK: - Spies
    class InteractorSpy: ___VARIABLE_productName___Interactable {
        
    }
    
    class RouterSpy: ___VARIABLE_productName___Routable, ___VARIABLE_productName___DataPassing {
        
        var dataStore: ___VARIABLE_productName___DataStore?
    }
    
    let moduleConfiguration: ModuleConfiguration = {
        let config = ModuleConfiguration()
//        moduleConfiguration.add(module: localizationService, interface: ABNLocalizationService.self)
        return config
    }()
    
    // MARK: - Properties
    var sut: ___VARIABLE_productName___ViewController!
    var interactorSpy: InteractorSpy!
    var routerSpy: RouterSpy!
    
    // MARK: - Test lifecycle
    override func setUp() {
        super.setUp()
        interactorSpy = InteractorSpy()
        routerSpy = RouterSpy()
        sut = ___VARIABLE_productName___ViewController(moduleConfiguration)
        sut.interactor = interactorSpy
        sut.router = routerSpy
        sut.beginAppearanceTransition(true, animated: false)
        sut.endAppearanceTransition()
    }
    
    // MARK: - Tests
    func test() {
        
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blue_printer-0.1.5 Clean Swift Tests.xctemplate/___FILEBASENAME___ViewControllerTests.swift