METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 shell = new org . eclipse . swt . widgets . METHOD_1 ( IDENT_1 ) ; org . eclipse . swt . widgets . IDENT_2 listener = mock ( org . eclipse . swt . widgets . IDENT_2 . class ) ; IDENT_1 . METHOD_2 ( IDENT_3 . IDENT_4 , listener ) ; shell . close ( ) ; org . mockito . IDENT_5 < org . eclipse . swt . widgets . IDENT_6 > IDENT_7 = org . mockito . IDENT_5 . METHOD_3 ( org . eclipse . swt . widgets . IDENT_6 . class ) ; verify ( listener ) . METHOD_4 ( IDENT_7 . METHOD_5 ( ) ) ; org . eclipse . swt . widgets . IDENT_6 event = IDENT_7 . getValue ( ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return value ; }
org . junit . Assert . assertEquals ( IDENT_3 . IDENT_4 , event . type )