Sha256: a0a6e24c08cd56120ec9d8a743da880a02e78562d2b80bb8d477bc06f8c3478f

Contents?: true

Size: 1009 Bytes

Versions: 2

Compression:

Stored size: 1009 Bytes

Contents

//___FILEHEADER___

import XCTest
@testable import ___PACKAGENAME___

class ___FILEBASENAMEASIDENTIFIER___: XCTestCase {
    
    // MARK: - Spies
    class InteractorSpy: ___VARIABLE_productName___Interactable {
        
    }
    
    class RouterSpy: ___VARIABLE_productName___Routable, ___VARIABLE_productName___DataPassing {
        
        var dataStore: ___VARIABLE_productName___DataStore?
    }
    
    // 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()
        sut.interactor = interactorSpy
        sut.router = routerSpy
        sut.beginAppearanceTransition(true, animated: false)
        sut.endAppearanceTransition()
    }
    
    // MARK: - Tests
    func test() {
        
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blue_printer-0.1.3 VIP Architecture.xctemplate/___FILEBASENAME___ViewControllerTests.swift
blue_printer-0.1.2 VIP Architecture.xctemplate/___FILEBASENAME___ViewControllerTests.swift