METHOD_0 ( ) { org . eclipse . IDENT_0 . runtime . IDENT_1 . ui . IDENT_2 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . eclipse . IDENT_0 . runtime . IDENT_1 . ui . IDENT_2 . IDENT_3 . class ) ; org . mockito . Mockito . when ( this . IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_4 ) ; org . eclipse . IDENT_0 . runtime . IDENT_1 . ui . IDENT_2 . IDENT_3 result = IDENT_6 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { org . eclipse . ui . IDENT_7 IDENT_8 = this . IDENT_9 . METHOD_3 ( ) ; if ( IDENT_8 instanceof org . eclipse . IDENT_0 . runtime . IDENT_1 . ui . IDENT_10 . IDENT_11 ) { return ( ( org . eclipse . IDENT_0 . runtime . IDENT_1 . ui . IDENT_10 . IDENT_11 ) ( IDENT_8 ) ) . METHOD_1 ( ) ; } else { return null ; } }
org . junit . Assert . assertEquals ( IDENT_4 , result )