METHOD_0 ( ) { org . apache . poi . IDENT_0 . IDENT_1 doc = org . apache . poi . IDENT_0 . IDENT_2 . METHOD_1 ( STRING_0 ) ; org . apache . poi . IDENT_0 . IDENT_3 . IDENT_4 range = doc . METHOD_2 ( ) ; int IDENT_5 = range . METHOD_3 ( ) ; int IDENT_6 = 0 ; int IDENT_7 = 0 ; for ( int i = 0 ; i < METHOD_3 ; i ++ ) { org . apache . poi . IDENT_0 . IDENT_3 . IDENT_8 IDENT_9 = range . METHOD_4 ( i ) ; java . lang . String text = IDENT_9 . text ( ) ; IDENT_6 += text . length ( ) ; if ( text . contains ( STRING_1 ) ) { IDENT_9 . delete ( ) ; IDENT_7 = text . length ( ) ; } } int IDENT_10 = 0 ; range = doc . METHOD_2 ( ) ; METHOD_3 = range . METHOD_3 ( ) ; for ( int i = 0 ; i < METHOD_3 ; i ++ ) { org . apache . poi . IDENT_0 . IDENT_3 . IDENT_8 IDENT_9 = range . METHOD_4 ( i ) ; java . lang . String text = IDENT_9 . text ( ) ; IDENT_10 += text . length ( ) ; } "<AssertPlaceHolder>" ; doc . close ( ) ; } length ( ) { return getString ( ) . length ( ) ; }
org . junit . Assert . assertEquals ( IDENT_10 , ( IDENT_6 - IDENT_7 ) )