METHOD_0 ( ) { METHOD_1 ( STRING_0 , STRING_1 , STRING_2 ) ; org . slc . sli . api . security . context . IDENT_0 < org . slc . sli . domain . Entity > repository = org . mockito . Mockito . mock ( org . slc . sli . api . security . context . IDENT_0 . class ) ; java . util . Set < java . lang . String > IDENT_1 = new java . util . HashSet < java . lang . String > ( ) ; IDENT_1 . add ( STRING_1 ) ; org . slc . sli . api . security . context . resolver . IDENT_2 helper = org . mockito . Mockito . mock ( org . slc . sli . api . security . context . resolver . IDENT_2 . class ) ; resolver . METHOD_2 ( helper ) ; java . util . Set < java . lang . String > IDENT_3 = new java . util . HashSet < java . lang . String > ( ) ; org . mockito . Mockito . when ( helper . METHOD_3 ( ) ) . thenReturn ( IDENT_3 ) ; IDENT_1 . addAll ( IDENT_3 ) ; org . slc . sli . domain . IDENT_4 IDENT_5 = METHOD_4 ( IDENT_1 ) ; org . slc . sli . domain . IDENT_4 query = new org . slc . sli . domain . METHOD_5 ( ) ; query . METHOD_6 ( IDENT_5 ) ; java . util . List < java . lang . String > result = METHOD_7 ( ) ; org . mockito . Mockito . when ( repository . METHOD_8 ( org . slc . sli . api . security . context . resolver . IDENT_6 . IDENT_7 , query ) ) . thenReturn ( result ) ; resolver . METHOD_9 ( repository ) ; org . slc . sli . domain . Entity entity = null ; java . util . List < java . lang . String > IDENT_8 = resolver . METHOD_10 ( entity ) ; org . mockito . Mockito . verify ( repository , times ( 1 ) ) . METHOD_8 ( any ( java . lang . String . class ) , any ( org . slc . sli . domain . METHOD_5 . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( java . lang . String , org . slc . sli . api . service . METHOD_5 ) { org . slc . sli . api . service . ArrayList < java . lang . String > IDENT_9 = new org . slc . sli . api . service . ArrayList < java . lang . String > ( ) ; for ( org . slc . sli . api . service . Entity e : this . METHOD_11 ( IDENT_10 , IDENT_11 ) ) { IDENT_9 . add ( e . METHOD_12 ( ) ) ; } return IDENT_9 ; }
org . junit . Assert . assertEquals ( result , IDENT_8 )