Hi all,

I am calling an object which in turn is calling a method inside a map RDD in 
spark. While writing the tests how can I mock that object's call? Currently I 
did doNothing().when(class).method() is called but it is giving task not 
serializable exception. I tried making the class both spy and mock. 

Sudershan Malpani
Sent from my iPhone
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
For additional commands, e-mail: dev-h...@spark.apache.org

Reply via email to