METHOD_0 ( ) { org . eclipse . IDENT_0 . runtime . IDENT_1 . IDENT_2 IDENT_3 = org . mockito . Mockito . mock ( org . eclipse . IDENT_0 . runtime . IDENT_1 . IDENT_2 . class ) ; org . eclipse . IDENT_4 . IDENT_5 . Element container = org . mockito . Mockito . mock ( org . eclipse . IDENT_4 . IDENT_5 . Element . class ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( container ) ; org . eclipse . IDENT_4 . IDENT_5 . Element result = IDENT_6 . METHOD_2 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . eclipse . IDENT_0 . runtime . IDENT_1 . IDENT_2 ) { return ( ( org . eclipse . IDENT_4 . IDENT_5 . Element ) ( IDENT_3 . METHOD_1 ( ) ) ) ; }
org . junit . Assert . assertEquals ( container , result )