METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; java . lang . String IDENT_2 = STRING_2 ; org . lnu . is . domain . IDENT_3 . IDENT_4 IDENT_3 = new org . lnu . is . domain . IDENT_3 . METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( IDENT_2 ) ; org . lnu . is . domain . user . IDENT_3 . IDENT_5 IDENT_6 = new org . lnu . is . domain . user . IDENT_3 . METHOD_3 ( ) ; IDENT_6 . METHOD_4 ( IDENT_3 ) ; java . util . List < org . lnu . is . domain . user . IDENT_3 . METHOD_3 > IDENT_7 = java . util . Arrays . asList ( IDENT_6 ) ; java . util . List < org . lnu . is . domain . user . group . IDENT_8 > IDENT_9 = java . util . Collections . emptyList ( ) ; org . lnu . is . domain . user . User user = new org . lnu . is . domain . user . User ( ) ; user . METHOD_5 ( IDENT_0 ) ; user . METHOD_6 ( IDENT_1 ) ; user . METHOD_7 ( IDENT_7 ) ; user . METHOD_8 ( IDENT_9 ) ; java . util . Collection < org . springframework . security . core . IDENT_10 > IDENT_11 = new java . util . ArrayList ( ) ; IDENT_11 . add ( new org . springframework . security . core . IDENT_12 . METHOD_9 ( IDENT_2 ) ) ; org . lnu . is . domain . session . IDENT_13 session = new org . lnu . is . domain . session . METHOD_10 ( ) ; session . METHOD_11 ( user ) ; org . springframework . security . authentication . IDENT_14 expected = new org . springframework . security . authentication . METHOD_12 ( IDENT_0 , IDENT_1 , IDENT_11 ) ; expected . METHOD_13 ( session ) ; when ( authentication . getName ( ) ) . thenReturn ( IDENT_0 ) ; when ( authentication . METHOD_14 ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_15 . METHOD_15 ( anyString ( ) ) ) . thenReturn ( user ) ; org . springframework . security . core . IDENT_16 actual = unit . METHOD_16 ( authentication ) ; verify ( IDENT_15 ) . METHOD_15 ( IDENT_0 ) ; verify ( authentication ) . getName ( ) ; verify ( authentication ) . METHOD_14 ( ) ; "<AssertPlaceHolder>" ; } verify ( T ) { METHOD_17 ( resource ) ; if ( ( IDENT_17 ) != null ) { IDENT_17 . verify ( resource ) ; } }
org . junit . Assert . assertEquals ( expected , actual )