METHOD_0 ( ) { METHOD_1 ( false ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_2 ( ) ) . thenReturn ( IDENT_1 ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_0 ) ; org . mockito . Mockito . when ( repo . METHOD_3 ( eq ( STRING_1 ) , any ( org . slc . sli . domain . IDENT_3 . class ) ) ) . thenReturn ( IDENT_2 ) ; org . mockito . Mockito . when ( repo . METHOD_4 ( eq ( STRING_1 ) , anyString ( ) ) ) . thenReturn ( IDENT_2 ) ; org . mockito . Mockito . when ( repo . METHOD_3 ( eq ( IDENT_4 . IDENT_5 ) , any ( org . slc . sli . domain . IDENT_3 . class ) ) ) . thenReturn ( IDENT_0 ) ; javax . servlet . http . IDENT_6 request = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_6 . class ) ; javax . ws . rs . core . IDENT_7 IDENT_8 = org . mockito . Mockito . mock ( javax . ws . rs . core . IDENT_7 . class ) ; java . net . URI uri = new java . net . URI ( IDENT_9 ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_5 ( ) ) . thenReturn ( uri ) ; org . mockito . Mockito . when ( IDENT_8 . getAbsolutePath ( ) ) . thenReturn ( uri ) ; org . mockito . Mockito . when ( request . METHOD_6 ( STRING_2 ) ) . thenReturn ( STRING_3 ) ; org . mockito . Mockito . when ( request . METHOD_6 ( STRING_4 ) ) . thenReturn ( STRING_0 ) ; org . IDENT_10 . IDENT_11 . core . IDENT_12 IDENT_13 = METHOD_7 ( STRING_5 , STRING_6 , IDENT_9 ) ; org . mockito . Mockito . when ( IDENT_14 . METHOD_8 ( org . mockito . Mockito . any ( javax . ws . rs . core . Response . class ) , org . mockito . Mockito . any ( IDENT_15 . IDENT_16 . class ) ) ) . thenReturn ( IDENT_13 ) ; javax . ws . rs . core . Response response = org . mockito . Mockito . mock ( javax . ws . rs . core . Response . class ) ; org . slc . sli . api . resources . security . IDENT_17 IDENT_18 = org . mockito . Mockito . METHOD_9 ( resource ) ; org . mockito . Mockito . doReturn ( response ) . when ( IDENT_18 ) . METHOD_10 ( org . mockito . Mockito . any ( org . springframework . util . IDENT_19 . class ) , org . mockito . Mockito . any ( org . slc . sli . domain . Entity . class ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . any ( org . slc . sli . domain . Entity . class ) , org . mockito . Mockito . any ( java . net . URI . class ) ) ; javax . ws . rs . core . Response IDENT_20 = IDENT_18 . METHOD_11 ( request , IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( javax . servlet . http . IDENT_6 , javax . ws . rs . core . IDENT_7 ) { java . lang . String IDENT_21 = request . METHOD_6 ( STRING_2 ) ; java . lang . String IDENT_22 = request . METHOD_6 ( STRING_4 ) ; if ( IDENT_21 == null ) { throw new org . slc . sli . api . security . context . METHOD_12 ( STRING_7 ) ; } java . lang . String IDENT_23 = IDENT_14 . METHOD_13 ( IDENT_22 , IDENT_21 ) ; org . IDENT_10 . IDENT_11 . core . IDENT_24 IDENT_25 = IDENT_26 . METHOD_14 ( IDENT_21 , IDENT_27 , IDENT_23 ) ; org . IDENT_10 . ws . IDENT_28 . IDENT_29 . IDENT_30 IDENT_31 = IDENT_26 . METHOD_15 ( IDENT_25 ) ; org . IDENT_10 . xml . IDENT_32 response = IDENT_33 . METHOD_16 ( IDENT_31 , IDENT_23 , IDENT_34 ) ; org . IDENT_10 . IDENT_11 . core . IDENT_35 IDENT_36 = ( ( org . IDENT_10 . IDENT_11 . core . IDENT_35 ) ( ( ( org . IDENT_10 . ws . IDENT_28 . IDENT_29 . impl . IDENT_37 ) ( response ) ) . METHOD_17 ( ) . METHOD_18 ( ) . get ( 0 ) ) ) ; org . IDENT_10 . IDENT_11 . core . Response IDENT_38 = ( ( org . IDENT_10 . IDENT_11 . core . Response ) ( IDENT_36 . getMessage ( ) ) ) ; return METHOD_19 ( IDENT_38 , IDENT_8 ) ; }
org . junit . Assert . assertEquals ( response , IDENT_20 )