METHOD_0 ( ) { org . eclipse . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . eclipse . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; org . eclipse . IDENT_0 . IDENT_1 . db . IDENT_5 handler = new org . eclipse . IDENT_0 . IDENT_1 . db . METHOD_1 ( org . eclipse . IDENT_0 . IDENT_1 . common . IDENT_6 . METHOD_2 ( ) , org . eclipse . IDENT_0 . IDENT_7 . IDENT_8 . IDENT_9 , org . eclipse . IDENT_0 . IDENT_7 . IDENT_8 . IDENT_10 , IDENT_4 , new org . eclipse . IDENT_0 . IDENT_1 . db . METHOD_3 ( org . eclipse . IDENT_0 . IDENT_1 . common . IDENT_6 . METHOD_2 ( ) , org . eclipse . IDENT_0 . IDENT_7 . IDENT_8 . IDENT_9 , org . eclipse . IDENT_0 . IDENT_7 . IDENT_8 . IDENT_10 ) ) ; org . eclipse . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_7 . IDENT_12 IDENT_13 = handler . METHOD_4 ( STRING_0 , org . eclipse . IDENT_0 . IDENT_7 . IDENT_8 . IDENT_14 ) ; IDENT_13 . setName ( STRING_1 ) ; org . mockito . Mockito . doReturn ( IDENT_15 . IDENT_16 ) . when ( IDENT_4 ) . METHOD_5 ( IDENT_13 , org . eclipse . IDENT_0 . IDENT_7 . IDENT_8 . IDENT_14 ) ; org . eclipse . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_15 status = handler . METHOD_5 ( IDENT_13 , org . eclipse . IDENT_0 . IDENT_7 . IDENT_8 . IDENT_14 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . eclipse . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_7 . IDENT_12 , org . eclipse . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_17 . User ) { METHOD_6 ( project ) ; org . eclipse . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_7 . IDENT_12 actual = repository . get ( project . getId ( ) ) ; assertNotNull ( project ) ; if ( ! ( METHOD_7 ( project , actual ) ) ) { return IDENT_15 . IDENT_18 ; } else if ( METHOD_8 ( actual , user ) . METHOD_9 ( IDENT_19 . IDENT_20 ) ) { METHOD_10 ( project , actual ) ; project . METHOD_11 ( METHOD_12 ( actual . METHOD_13 ( ) , project . METHOD_13 ( ) ) ) ; repository . update ( project ) ; IDENT_21 . METHOD_14 ( actual . METHOD_13 ( ) , project . METHOD_13 ( ) ) ; METHOD_15 ( project , user . METHOD_16 ( ) ) ; return IDENT_15 . IDENT_22 ; } else { return IDENT_4 . METHOD_5 ( project , user ) ; } }
org . junit . Assert . assertEquals ( IDENT_15 . IDENT_22 , status )