question: when the email is unknown , an exception must be thrown . concode_field_sep UserService service concode_field_sep void test_randomPassword concode_elem_sep void test_updatePassword_invalidNewPassword concode_elem_sep void test_updatePassword_unknownEmail concode_elem_sep void test_forgottenPassword concode_elem_sep void test_updatePassword
target: void function ( ) { String loc0 = "srini_string" ; UserDao loc1 = mock ( UserDao . class ) ; UserService loc2 = new UserService ( loc1 , mock ( MailSender . class ) , mock ( SimpleMailMessage . class ) ) ; when ( loc1 . findByEmail ( loc0 ) ) . thenReturn ( null ) ; loc2 . forgottenPassword ( loc0 ) ; }