secretive/SecretAgentKitTests/StubFileHandleWriter.swift

12 lines
165 B
Swift

import SecretAgentKit
class StubFileHandleWriter: FileHandleWriter {
var data = Data()
func write(_ data: Data) {
self.data.append(data)
}
}