METHOD_0 ( ) { org . IDENT_0 . api . service . IDENT_1 IDENT_2 = METHOD_1 ( ) ; try { org . mockito . Mockito . METHOD_2 ( IDENT_2 . IDENT_3 , IDENT_2 . IDENT_4 ) ; org . mockito . Mockito . when ( IDENT_2 . IDENT_4 . METHOD_3 ( ) ) . thenReturn ( null ) ; IDENT_2 . METHOD_0 ( ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( org . IDENT_0 . api . rest . exception . IDENT_5 e ) { org . mockito . Mockito . METHOD_4 ( IDENT_2 . IDENT_3 ) ; } try { org . mockito . Mockito . METHOD_2 ( IDENT_2 . IDENT_3 , IDENT_2 . IDENT_4 ) ; java . security . IDENT_6 p = new org . IDENT_0 . api . security . IDENT_7 . METHOD_5 ( STRING_1 ) ; org . mockito . Mockito . when ( IDENT_2 . IDENT_4 . METHOD_3 ( ) ) . thenReturn ( p ) ; org . mockito . Mockito . when ( IDENT_2 . IDENT_4 . METHOD_6 ( IDENT_8 . IDENT_9 ) ) . thenReturn ( true ) ; IDENT_2 . METHOD_0 ( ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( org . IDENT_0 . api . rest . exception . IDENT_5 e ) { org . mockito . Mockito . METHOD_4 ( IDENT_2 . IDENT_3 ) ; } { org . mockito . Mockito . METHOD_2 ( IDENT_2 . IDENT_3 , IDENT_2 . IDENT_4 ) ; java . security . IDENT_6 p = new org . IDENT_0 . api . security . IDENT_7 . METHOD_7 ( STRING_1 ) ; org . mockito . Mockito . when ( IDENT_2 . IDENT_4 . METHOD_3 ( ) ) . thenReturn ( p ) ; org . mockito . Mockito . when ( IDENT_2 . IDENT_4 . METHOD_6 ( IDENT_8 . IDENT_10 ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . METHOD_8 ( IDENT_2 . IDENT_3 ) ; } } METHOD_0 ( ) { if ( ! ( METHOD_9 ( IDENT_11 . IDENT_10 ) ) ) { throw new org . IDENT_0 . api . rest . exception . METHOD_10 ( org . IDENT_0 . api . security . IDENT_11 . IDENT_10 ) ; } return IDENT_4 . METHOD_3 ( ) . getName ( ) ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_2 . METHOD_0 ( ) )