//                   
// This source file is part of the Apodini open source project
//
// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
//
// SPDX-License-Identifier: MIT
//              

@testable import Apodini

struct EmojiMediator: ResponseTransformer {
    private let emojis: String

    init(emojis: String = "✅") {
        self.emojis = emojis
    }

    func transform(content string: String) -> String {
        "\(emojis) \(string) \(emojis)"
    }
}
