METHOD_0 ( ) { org . IDENT_0 . core . model . User IDENT_1 = new org . IDENT_0 . core . model . User ( ) ; IDENT_1 . METHOD_1 ( STRING_0 ) ; IDENT_1 . METHOD_2 ( STRING_1 ) ; try { org . IDENT_0 . core . result . IDENT_2 < org . IDENT_0 . core . model . User > result = IDENT_3 . METHOD_3 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } catch ( org . IDENT_0 . core . exception . IDENT_4 e ) { e . printStackTrace ( ) ; } } METHOD_3 ( org . IDENT_0 . core . model . User ) { org . IDENT_0 . core . result . IDENT_2 < org . IDENT_0 . core . model . User > result = org . IDENT_0 . core . util . validator . IDENT_5 . METHOD_4 ( user ) ; if ( ! ( result . METHOD_5 ( ) ) ) { return result ; } org . IDENT_0 . core . domain . IDENT_6 IDENT_7 = new org . IDENT_0 . core . domain . METHOD_6 ( ) ; user . METHOD_2 ( org . IDENT_0 . core . util . security . IDENT_8 . METHOD_7 ( user . METHOD_8 ( ) , IDENT_8 . IDENT_9 ) ) ; org . IDENT_0 . core . domain . IDENT_10 IDENT_11 = new org . IDENT_0 . core . domain . METHOD_9 ( ) ; if ( org . apache . commons . lang . StringUtils . METHOD_10 ( user . METHOD_11 ( ) ) ) { IDENT_11 . METHOD_12 ( ) . METHOD_13 ( user . METHOD_11 ( ) ) ; java . util . List < org . IDENT_0 . core . domain . METHOD_6 > IDENT_12 = IDENT_13 . METHOD_14 ( IDENT_11 ) ; if ( org . apache . commons . collections . IDENT_14 . isEmpty ( IDENT_12 ) ) { return result . METHOD_15 ( false ) . METHOD_16 ( "" ) . METHOD_17 ( IDENT_15 . IDENT_16 ) ; } IDENT_11 = new org . IDENT_0 . core . domain . METHOD_9 ( ) ; IDENT_11 . METHOD_12 ( ) . METHOD_13 ( user . METHOD_11 ( ) ) . METHOD_18 ( user . METHOD_8 ( ) ) ; IDENT_12 = IDENT_13 . METHOD_14 ( IDENT_11 ) ; if ( org . apache . commons . collections . IDENT_14 . METHOD_10 ( IDENT_12 ) ) { IDENT_7 = IDENT_12 . get ( 0 ) ; } } if ( org . apache . commons . lang . StringUtils . METHOD_10 ( user . METHOD_19 ( ) ) ) { IDENT_11 = new org . IDENT_0 . core . domain . METHOD_9 ( ) ; IDENT_11 . METHOD_12 ( ) . METHOD_20 ( user . METHOD_19 ( ) ) ; java . util . List < org . IDENT_0 . core . domain . METHOD_6 > IDENT_12 = IDENT_13 . METHOD_14 ( IDENT_11 ) ; if ( org . apache . commons . collections . IDENT_14 . isEmpty ( IDENT_12 ) ) { return result . METHOD_15 ( false ) . METHOD_16 ( "" ) . METHOD_17 ( IDENT_15 . IDENT_17 ) ; } IDENT_11 = new org . IDENT_0 . core . domain . METHOD_9 ( ) ; IDENT_11 . METHOD_12 ( ) . METHOD_20 ( user . METHOD_19 ( ) ) . METHOD_18 ( user . METHOD_8 ( ) ) ; IDENT_12 = IDENT_13 . METHOD_14 ( IDENT_11 ) ; if ( org . apache . commons . collections . IDENT_14 . METHOD_10 ( IDENT_12 ) ) { IDENT_7 = IDENT_12 . get ( 0 ) ; } } if ( ( null == IDENT_7 ) || ( null == ( IDENT_7 . getId ( ) ) ) ) { return result . METHOD_15 ( false ) . METHOD_16 ( "" ) . METHOD_17 ( IDENT_15 . IDENT_18 ) ; } IDENT_19 . METHOD_21 ( IDENT_7 , user ) ; return result . METHOD_22 ( user ) . METHOD_15 ( true ) . METHOD_16 ( "" ) ; }
org . junit . Assert . assertNotNull ( result )