METHOD_0 ( ) { when ( IDENT_0 . getText ( ) ) . thenReturn ( STRING_0 ) ; listener . IDENT_1 = STRING_0 ; listener . METHOD_1 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 1 ) ) . getText ( ) ; org . mockito . Mockito . METHOD_2 ( IDENT_0 ) ; } METHOD_1 ( org . eclipse . swt . events . IDENT_3 ) { java . lang . String IDENT_4 = IDENT_5 . getText ( ) ; if ( ( IDENT_1 . equals ( IDENT_4 ) ) || ( IDENT_6 . equals ( IDENT_4 ) ) ) { return ; } java . lang . String IDENT_7 = IDENT_6 ; IDENT_6 = IDENT_4 ; if ( ( IDENT_4 . length ( ) ) < ( IDENT_7 . length ( ) ) ) { return ; } if ( ( ( IDENT_5 . METHOD_3 ( ) ) < ( IDENT_4 . length ( ) ) ) || ( ( IDENT_4 . length ( ) ) < 6 ) ) { return ; } java . util . IDENT_8 < java . lang . String > IDENT_9 = IDENT_10 . METHOD_4 ( IDENT_4 ) ; if ( IDENT_9 . isEmpty ( ) ) { return ; } java . lang . String IDENT_11 = IDENT_9 . first ( ) ; if ( ( ! ( IDENT_11 . startsWith ( IDENT_4 ) ) ) || ( IDENT_11 . equals ( IDENT_4 ) ) ) { return ; } int IDENT_12 = ( IDENT_10 . size ( ) ) - ( IDENT_9 . size ( ) ) ; IDENT_5 . METHOD_5 ( this ) ; IDENT_1 = IDENT_11 ; IDENT_5 . select ( IDENT_12 ) ; IDENT_5 . METHOD_6 ( new org . eclipse . swt . IDENT_13 . METHOD_7 ( IDENT_4 . length ( ) , IDENT_11 . length ( ) ) ) ; IDENT_5 . METHOD_8 ( this ) ; }
org . junit . Assert . assertEquals ( STRING_0 , listener . IDENT_1 )