Hi!
Thank you so much for this wonderful framework. Swift cannot be tested in a good way without ut! ❤️
This PR adds a registerResult for each set method in MockUserDefaults. This way the result can be set by the thing that is tested if it calls defaults.set(value, forKey: key) and no extra registration is needed.
Hi! Thank you so much for this wonderful framework. Swift cannot be tested in a good way without ut! ❤️
This PR adds a
registerResult
for eachset
method inMockUserDefaults
. This way the result can be set by the thing that is tested if it callsdefaults.set(value, forKey: key)
and no extra registration is needed.