METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( request , response ) ) . thenReturn ( true ) ; when ( IDENT_0 . METHOD_2 ( ) ) . thenReturn ( facebook ) ; when ( facebook . METHOD_3 ( ) ) . thenReturn ( IDENT_1 ) ; java . util . List < org . springframework . IDENT_2 . facebook . api . IDENT_3 > IDENT_4 = java . util . Collections . emptyList ( ) ; when ( IDENT_1 . METHOD_4 ( ) ) . thenReturn ( IDENT_4 ) ; java . lang . String result = instance . METHOD_5 ( request , response , model ) ; verify ( model ) . METHOD_6 ( STRING_0 , IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( javax . servlet . http . IDENT_5 , javax . servlet . http . IDENT_6 , org . springframework . ui . IDENT_7 ) { java . lang . String IDENT_8 ; if ( IDENT_0 . METHOD_1 ( request , response ) ) { java . util . List < org . springframework . IDENT_2 . facebook . api . IDENT_3 > IDENT_4 = METHOD_7 ( ) ; model . METHOD_6 ( STRING_0 , IDENT_4 ) ; IDENT_8 = STRING_1 ; } else { IDENT_8 = STRING_2 ; } return IDENT_8 ; }
org . junit . Assert . assertEquals ( STRING_1 , result )