swift - How to unit test a function without a return value -
i have wrapper log system adds functionality remote logging.
the functions class functions , don't return value print log , call delegate method.
i want unit test each function calls right delegation method, methods dont return value. there way test this?
thanks
try use
readline() also create fake delegate test callback.
Comments
Post a Comment