METHOD_0 ( ) { org . eclipse . rap . rwt . client . IDENT_0 client = mock ( org . eclipse . rap . rwt . client . IDENT_0 . class ) ; org . eclipse . rap . rwt . internal . client . IDENT_1 IDENT_2 = mock ( org . eclipse . rap . rwt . internal . client . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_1 ( any ( org . eclipse . rap . rwt . service . IDENT_3 . class ) ) ) . thenReturn ( client ) ; when ( IDENT_4 . METHOD_2 ( ) ) . thenReturn ( IDENT_2 ) ; org . eclipse . rap . rwt . client . IDENT_0 result = IDENT_5 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return client ; }
org . junit . Assert . assertSame ( client , result )