I am trying to write a method where the data object (Realm) refreshes its properties using Alamofire. But I can’t figure out how to unit test it.
import Alamofire
import RealmSwift
import Swi
I am trying to write a method where the data object (Realm) refreshes its properties using Alamofire. But I can’t figure out how to unit test it.
import Alamofire
import RealmSwift
import Swi
I am using Alamofire and ObjectMapper, my model class is like this
class Category: Object, Mappable {
dynamic var id: Int = 0
dynamic var name = “”
dynamic var thumbnail = “”
var children = L