METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . ui . IDENT_2 . IDENT_3 IDENT_4 = mock ( com . IDENT_0 . IDENT_1 . ui . IDENT_2 . IDENT_3 . class ) ; com . IDENT_0 . IDENT_1 . ui . api . elements . Element el = mock ( com . IDENT_0 . IDENT_1 . ui . api . elements . Element . class ) ; when ( IDENT_4 . METHOD_1 ( com . IDENT_0 . IDENT_1 . ui . api . elements . Element . class , "foo" ) ) . thenReturn ( el ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { return new com . IDENT_0 . IDENT_1 . ui . IDENT_5 . METHOD_3 ( METHOD_2 ) ; }
org . junit . Assert . assertSame ( el , com . IDENT_0 . IDENT_1 . ui . IDENT_5 . METHOD_2 ( "foo" ) . find ( com . IDENT_0 . IDENT_1 . ui . api . elements . Element . class , IDENT_4 ) )