METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( IDENT_0 ) ; IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = new IDENT_3 . IDENT_4 . IDENT_5 . METHOD_3 ( ) ; java . lang . Object session = IDENT_7 . METHOD_4 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_2 ( ) ; } METHOD_4 ( IDENT_3 . IDENT_4 . IDENT_5 . IDENT_8 ) { return METHOD_1 ( IDENT_9 ) ; }
org . junit . Assert . assertThat ( session , org . hamcrest . core . Is . is ( IDENT_1 ) )