METHOD_0 ( ) { org . slc . sli . api . security . context . validator . Set < java . lang . String > IDENT_0 = new org . slc . sli . api . security . context . validator . HashSet < java . lang . String > ( ) ; org . slc . sli . api . security . context . validator . Map < java . lang . String , java . lang . Object > IDENT_1 = METHOD_1 ( STRING_0 , STRING_1 ) ; org . slc . sli . domain . Entity IDENT_2 = new org . slc . sli . domain . METHOD_2 ( org . slc . sli . common . IDENT_3 . IDENT_4 . IDENT_5 , IDENT_1 ) ; IDENT_0 . add ( IDENT_2 . METHOD_3 ( ) ) ; IDENT_6 . add ( STRING_1 ) ; org . mockito . Mockito . when ( IDENT_7 . METHOD_4 ( org . mockito . Mockito . eq ( IDENT_4 . IDENT_5 ) , org . mockito . Mockito . any ( org . slc . sli . domain . IDENT_8 . class ) ) ) . thenReturn ( org . slc . sli . api . security . context . validator . Arrays . asList ( IDENT_2 ) ) ; org . mockito . Mockito . when ( IDENT_9 . validate ( IDENT_4 . IDENT_10 , IDENT_6 ) ) . thenReturn ( IDENT_6 ) ; "<AssertPlaceHolder>" ; } validate ( java . lang . String , org . slc . sli . api . security . context . validator . Set ) { if ( ! ( METHOD_5 ( IDENT_4 . IDENT_11 , IDENT_12 , IDENT_13 ) ) ) { return Collections . IDENT_14 ; } org . slc . sli . api . security . context . validator . Set < java . lang . String > IDENT_15 = new org . slc . sli . api . security . context . validator . HashSet < java . lang . String > ( ) ; org . slc . sli . domain . IDENT_8 IDENT_16 = new org . slc . sli . domain . METHOD_6 ( new org . slc . sli . domain . METHOD_7 ( STRING_2 , org . slc . sli . domain . METHOD_7 . IDENT_17 , IDENT_13 ) ) ; IDENT_16 . METHOD_8 ( org . slc . sli . api . security . context . validator . Arrays . asList ( STRING_3 , STRING_2 ) ) ; org . slc . sli . api . security . context . validator . IDENT_18 . LOG . info ( STRING_4 , IDENT_13 ) ; METHOD_9 ( IDENT_16 ) ; java . lang . IDENT_19 < org . slc . sli . domain . Entity > IDENT_20 = repo . METHOD_4 ( IDENT_4 . IDENT_21 , IDENT_16 ) ; org . slc . sli . api . security . context . validator . Map < java . lang . String , org . slc . sli . api . security . context . validator . Set < java . lang . String > > IDENT_22 = new org . slc . sli . api . security . context . validator . HashMap < java . lang . String , org . slc . sli . api . security . context . validator . Set < java . lang . String > > ( ) ; METHOD_10 ( IDENT_22 , IDENT_20 ) ; org . slc . sli . api . security . context . validator . Set < java . lang . String > IDENT_23 = METHOD_11 ( ) ; if ( ( IDENT_23 . isEmpty ( ) ) || ( IDENT_22 . isEmpty ( ) ) ) { return Collections . IDENT_14 ; } for ( java . util . Map . Entry < java . lang . String , org . slc . sli . api . security . context . validator . Set < java . lang . String > > entry : IDENT_22 . entrySet ( ) ) { org . slc . sli . api . security . context . validator . Set < java . lang . String > IDENT_24 = new org . slc . sli . api . security . context . validator . HashSet < java . lang . String > ( entry . getValue ( ) ) ; IDENT_24 . METHOD_12 ( IDENT_23 ) ; if ( ( IDENT_24 . size ( ) ) != 0 ) { IDENT_15 . add ( entry . getKey ( ) ) ; } } IDENT_15 . addAll ( METHOD_13 ( IDENT_4 . IDENT_25 , STRING_5 ) ) ; IDENT_15 . addAll ( METHOD_13 ( IDENT_4 . IDENT_26 , STRING_6 ) ) ; IDENT_16 = new org . slc . sli . domain . METHOD_6 ( new org . slc . sli . domain . METHOD_7 ( STRING_7 , STRING_8 , IDENT_23 ) ) ; java . lang . IDENT_19 < org . slc . sli . domain . Entity > IDENT_27 = repo . METHOD_4 ( IDENT_4 . IDENT_10 , IDENT_16 ) ; org . slc . sli . api . security . context . validator . List < java . lang . String > IDENT_28 = new org . slc . sli . api . security . context . validator . ArrayList < java . lang . String > ( ) ; for ( org . slc . sli . domain . Entity e : IDENT_27 ) { java . lang . Object value = e . METHOD_14 ( ) . get ( STRING_9 ) ; if ( value != null ) { if ( org . slc . sli . api . security . context . validator . List . class . METHOD_15 ( value . getClass ( ) ) ) { IDENT_28 . addAll ( ( ( org . slc . sli . api . security . context . validator . List < java . lang . String > ) ( value ) ) ) ; } else if ( java . lang . String . class . METHOD_15 ( value . getClass ( ) ) ) { IDENT_28 . add ( ( ( java . lang . String ) ( value ) ) ) ; } } } IDENT_15 . addAll ( METHOD_16 ( IDENT_4 . IDENT_25 , STRING_5 , IDENT_28 ) ) ; IDENT_16 = new org . slc . sli . domain . METHOD_6 ( new org . slc . sli . domain . METHOD_7 ( STRING_10 , STRING_8 , IDENT_23 ) ) ; org . slc . sli . api . security . context . validator . List < java . lang . String > IDENT_29 = ( ( org . slc . sli . api . security . context . validator . List < java . lang . String > ) ( repo . METHOD_17 ( IDENT_4 . IDENT_30 , IDENT_16 ) ) ) ; IDENT_15 . addAll ( METHOD_16 ( IDENT_4 . IDENT_26 , STRING_6 , IDENT_29 ) ) ; IDENT_15 . METHOD_12 ( IDENT_13 ) ; return IDENT_15 ; }
org . junit . Assert . assertTrue ( validator . validate ( IDENT_4 . IDENT_5 , IDENT_0 ) . equals ( IDENT_0 ) )