METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 listener = mock ( org . eclipse . swt . widgets . IDENT_0 . class ) ; IDENT_1 . METHOD_1 ( IDENT_2 . IDENT_3 , listener ) ; IDENT_1 . METHOD_2 ( IDENT_2 . IDENT_3 , listener ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( int ) { if ( ( types ) == null ) { return org . eclipse . swt . widgets . IDENT_4 . IDENT_5 ; } int count = 0 ; for ( int i = 0 ; i < ( types . length ) ; i ++ ) { if ( ( types [ i ] ) == IDENT_6 ) { count ++ ; } } if ( count == 0 ) { return org . eclipse . swt . widgets . IDENT_4 . IDENT_5 ; } org . eclipse . swt . widgets . IDENT_0 [ ] result = new org . eclipse . swt . widgets . IDENT_0 [ count ] ; count = 0 ; for ( int i = 0 ; i < ( types . length ) ; i ++ ) { if ( ( types [ i ] ) == IDENT_6 ) { result [ ( count ++ ) ] = IDENT_7 [ i ] ; } } return result ; }
org . junit . Assert . assertEquals ( 0 , IDENT_1 . METHOD_3 ( IDENT_2 . IDENT_3 ) . length )