Post

Vim Only Keep Some Characters

1
2
3
4
5
6
-- Original method  
public String updateTotalPayTemporaryHourly(int form_sn) 

-- fail!  
when(formDao.updateTotalPayTemporaryHourly(any())).thenReturn("");

only mock object, so updateTotalPayTemporaryHourly(int) will fail.

This post is licensed under CC BY 4.0 by the author.