Antidote/Antidote/OCTSubmanagerFriendsMock.swift

24 lines
633 B
Swift

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
import Foundation
class OCTSubmanagerFriendsMock: NSObject, OCTSubmanagerFriends {
func sendFriendRequest(toAddress address: String!, message: String!) throws {
// nop
}
func approve(_ friendRequest: OCTFriendRequest!) throws {
// nop
}
func remove(_ friendRequest: OCTFriendRequest!) {
// nop
}
func remove(_ friend: OCTFriend!) throws {
// nop
}
}