fabio.carballo
03/10/2016, 7:05 PMMockito.`when`(userRepository.insertOrUpdateUserAccount(userAccount))
.thenThrow(IllegalStateException())
When there is a call to the mocked method I have an error:
Checked exception is invalid for this method!