void function ( ) { configureLegitFormBean ( ) ; Mockito . when ( result . hasErrors ( ) ) . thenReturn ( true ) ; String loc0 = ctrl . create ( request , formBean , result , status ) ; assertTrue ( loc0 . equals ( "srini_string" ) ) ; }
trying to create a new user , with errors in form . concode_field_sep AccountFormBean formBean concode_elem_sep ReCaptchaParameters rep concode_elem_sep MailService srv concode_elem_sep NewAccountFormController ctrl concode_elem_sep EmailFactoryImpl efi concode_elem_sep BindingResult result concode_elem_sep HttpServletRequest request concode_elem_sep ReCaptchaResponse rer concode_elem_sep ReCaptcha rec concode_elem_sep Moderator mod concode_elem_sep AccountDao dao concode_elem_sep SessionStatus status concode_field_sep void configureLegitFormBean concode_elem_sep void testAccountFormBean concode_elem_sep void testCreate concode_elem_sep void setUp concode_elem_sep void testCreateDuplicatedEmail concode_elem_sep void testCreateUserWithError concode_elem_sep void testSetupForm concode_elem_sep void testInitForm concode_elem_sep void tearDown concode_elem_sep void testCreateNoModeration concode_elem_sep void testCreateDuplicatedUid