METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( STRING_0 ) ) . METHOD_2 ( org . IDENT_1 . user . api . IDENT_2 . class ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_3 ( org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( user ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_4 ( STRING_1 , false ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { org . IDENT_1 . user . api . User user = null ; if ( id != null ) { boolean IDENT_4 = false ; boolean IDENT_5 = true ; java . lang . String IDENT_6 = id ; if ( ( ( IDENT_6 . length ( ) ) > ( org . IDENT_1 . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_10 . length ( ) ) ) && ( IDENT_6 . startsWith ( org . IDENT_1 . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_10 ) ) ) { IDENT_6 = id . substring ( org . IDENT_1 . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_10 . length ( ) ) ; IDENT_5 = false ; IDENT_4 = true ; } if ( IDENT_5 ) { try { user = IDENT_11 . METHOD_1 ( id ) ; } catch ( org . IDENT_1 . user . api . IDENT_2 e ) { user = null ; if ( ! ( METHOD_6 ( ) ) ) { IDENT_4 = true ; } } } if ( IDENT_4 ) { try { user = IDENT_11 . METHOD_3 ( IDENT_6 ) ; } catch ( org . IDENT_1 . user . api . IDENT_2 e ) { user = null ; } } } return user ; }
org . junit . Assert . assertNull ( provider . METHOD_5 ( STRING_0 ) )