This is superfluous with the assert on the next line.  `toHaveBeenCalledWith` implies `toHaveBeenCalled`.