METHOD_0 ( ) { when ( device . METHOD_1 ( ) ) . METHOD_2 ( new java . io . IOException ( ) ) ; when ( IDENT_0 . METHOD_3 ( any ( java . lang . String . class ) ) ) . thenReturn ( true ) ; boolean IDENT_1 = IDENT_2 . METHOD_4 ( device ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( com . android . IDENT_3 . IDENT_4 ) { java . lang . IDENT_5 loader = com . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . impl . IDENT_10 . class . METHOD_5 ( ) ; for ( int i = 0 ; i < INT_0 ; i ++ ) { java . lang . String IDENT_11 = java . lang . String . format ( com . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . impl . IDENT_10 . IDENT_12 , i ) ; if ( ( loader . getResource ( IDENT_11 ) ) != null ) { com . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . impl . IDENT_10 . IDENT_12 = IDENT_11 ; break ; } } if ( ! ( METHOD_6 ( ) ) ) { return true ; } java . lang . String IDENT_13 = ( ( IDENT_14 ) + ( com . IDENT_6 . IDENT_7 . core . util . IDENT_15 . IDENT_16 ) ) + ( com . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . impl . IDENT_10 . IDENT_12 ) ; boolean IDENT_17 = true ; if ( ! ( IDENT_0 . METHOD_3 ( IDENT_13 ) ) ) { if ( ! ( IDENT_18 . METHOD_7 ( IDENT_13 , com . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . impl . IDENT_10 . IDENT_12 , loader ) ) ) { IDENT_17 = false ; } } if ( IDENT_17 ) { try { device . METHOD_8 ( IDENT_13 , true ) ; com . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . impl . IDENT_10 . LOG . debug ( STRING_0 ) ; IDENT_0 . METHOD_9 ( IDENT_13 ) ; } catch ( com . android . IDENT_3 . IDENT_19 e ) { com . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . impl . IDENT_10 . LOG . error ( e . getMessage ( ) ) ; return false ; } } else { return false ; } return true ; }
org . junit . Assert . assertEquals ( true , IDENT_1 )