looking for something like this:
//Mockito when rawData.filter(filter) thenReturn mockInfo
//but I want
Mockito when rawDataRDD.filter(*) thenReturn mockInfo
should be related with
m expects 'forward withArgs (*) once
but seems my scala doesn't support '
symbol yet. so how shall I match a spied call with wildcard in scala test ?
Aucun commentaire:
Enregistrer un commentaire