//
//  ExplorePresentationLogicSpy.swift
//  Travelling
//
//  Created by Dimitri Strauneanu on 13/09/2020.
//  Copyright (c) 2020 Travelling. All rights reserved.
//
//  This file was generated by the Clean Swift Xcode Templates so
//  you can apply clean architecture to your iOS and Mac projects,
//  see http://clean-swift.com
//

@testable import Travelling

class ExplorePresentationLogicSpy: ExplorePresentationLogic {
    var presentWillFetchItemsCalled: Bool = false
    var presentDidFetchItemsCalled: Bool = false
    
    var presentItemsCalled: Bool = false
    var presentNewItemsCalled: Bool = false
    var presentSearchedItemsCalled: Bool = false
    
    var presentNoMoreItemsCalled: Bool = false
    var presentRemoveNoMoreItemsCalled: Bool = false
    
    var presentEmptyStateCalled: Bool = false
    var presentRemoveEmptyStateCalled: Bool = false
    
    var presentErrorStateCalled: Bool = false
    var presentRemoveErrorStateCalled: Bool = false
    
    var presentWillFetchImageCalled: Bool = false
    var presentDidFetchImageCalled: Bool = false
    var presentImageCalled: Bool = false
    var presentPlaceholderImageCalled: Bool = false
    
    var presentEnableSearchBarCalled: Bool = false
    var presentDisableSearchBarCalled: Bool = false
    
    var presentNavigateToPlaceDetailsCalled: Bool = false
    
    func presentWillFetchItems() {
        self.presentWillFetchItemsCalled = true
    }
    
    func presentDidFetchItems() {
        self.presentDidFetchItemsCalled = true
    }
    
    func presentItems(response: ExploreModels.ItemsPresentation.Response) {
        self.presentItemsCalled = true
    }
    
    func presentNewItems(response: ExploreModels.ItemsPresentation.Response) {
        self.presentNewItemsCalled = true
    }
    
    func presentSearchedItems(response: ExploreModels.ItemsSearching.Response) {
        self.presentSearchedItemsCalled = true
    }
    
    func presentNoMoreItems() {
        self.presentNoMoreItemsCalled = true
    }
    
    func presentRemoveNoMoreItems() {
        self.presentRemoveNoMoreItemsCalled = true
    }
    
    func presentEmptyState() {
        self.presentEmptyStateCalled = true
    }
    
    func presentRemoveEmptyState() {
        self.presentRemoveEmptyStateCalled = true
    }
    
    func presentErrorState() {
        self.presentErrorStateCalled = true
    }
    
    func presentRemoveErrorState() {
        self.presentRemoveErrorStateCalled = true
    }
    
    func presentWillFetchImage(response: ExploreModels.ImageFetching.Response) {
        self.presentWillFetchImageCalled = true
    }
    
    func presentDidFetchImage(response: ExploreModels.ImageFetching.Response) {
        self.presentDidFetchImageCalled = true
    }
    
    func presentImage(response: ExploreModels.ImagePresentation.Response) {
        self.presentImageCalled = true
    }
    
    func presentPlaceholderImage(response: ExploreModels.ImagePresentation.Response) {
        self.presentPlaceholderImageCalled = true
    }
    
    func presentEnableSearchBar() {
        self.presentEnableSearchBarCalled = true
    }
    
    func presentDisableSearchBar() {
        self.presentDisableSearchBarCalled = true
    }
    
    func presentNavigateToPlaceDetails(response: ExploreModels.ItemNavigation.Response) {
        self.presentNavigateToPlaceDetailsCalled = true
    }
}
