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