METHOD_0 ( ) { IDENT_0 . IDENT_1 . model . User IDENT_2 = new IDENT_0 . IDENT_1 . model . User ( STRING_0 , INT_0 ) ; IDENT_0 . IDENT_1 . model . User IDENT_3 = new IDENT_0 . IDENT_1 . model . User ( STRING_1 , INT_1 ) ; IDENT_0 . IDENT_1 . model . User IDENT_4 = new IDENT_0 . IDENT_1 . model . User ( STRING_2 , INT_2 ) ; IDENT_0 . IDENT_1 . control . IDENT_5 [ ] IDENT_6 = new IDENT_0 . IDENT_1 . control . IDENT_5 [ 2 ] ; IDENT_6 [ 0 ] = new IDENT_0 . IDENT_1 . control . METHOD_1 ( ) ; IDENT_6 [ 1 ] = new IDENT_0 . IDENT_1 . control . METHOD_2 ( ) ; IDENT_0 . IDENT_1 . model . IDENT_7 storage = new IDENT_0 . IDENT_1 . model . METHOD_3 ( 2 ) ; storage . METHOD_4 ( IDENT_6 , IDENT_2 ) ; storage . METHOD_4 ( IDENT_6 , IDENT_3 ) ; IDENT_0 . IDENT_1 . control . IDENT_5 [ ] IDENT_8 = new IDENT_0 . IDENT_1 . control . IDENT_5 [ 1 ] ; IDENT_8 [ 0 ] = new IDENT_0 . IDENT_1 . control . METHOD_5 ( ) ; IDENT_4 . setId ( IDENT_2 . getId ( ) ) ; boolean result = storage . METHOD_6 ( IDENT_8 , IDENT_4 ) ; boolean control = true ; "<AssertPlaceHolder>" ; } METHOD_6 ( IDENT_0 . IDENT_1 . dao . value . User , int ) { boolean result = false ; IDENT_0 . IDENT_1 . dao . IDENT_9 IDENT_10 = null ; try ( IDENT_0 . IDENT_1 . dao . IDENT_11 conn = this . factory . METHOD_7 ( ) ) { IDENT_10 = conn . METHOD_8 ( STRING_3 ) ; IDENT_10 . METHOD_9 ( 1 , user . getName ( ) ) ; IDENT_10 . METHOD_10 ( 3 , user . METHOD_11 ( ) ) ; IDENT_10 . METHOD_10 ( 2 , user . METHOD_12 ( ) ) ; IDENT_10 . METHOD_10 ( 4 , id ) ; IDENT_10 . METHOD_13 ( ) ; user . setId ( id ) ; this . METHOD_14 ( user ) ; result = true ; } catch ( java . lang . Exception e ) { IDENT_0 . IDENT_1 . dao . IDENT_12 . log . error ( e . getMessage ( ) , e ) ; } finally { try { IDENT_10 . close ( ) ; } catch ( java . lang . Exception e ) { IDENT_0 . IDENT_1 . dao . IDENT_12 . log . error ( e . getMessage ( ) , e ) ; } } return result ; }
org . junit . Assert . assertThat ( control , org . hamcrest . core . Is . is ( result ) )