METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . elements . IDENT_3 IDENT_4 = mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . elements . IDENT_3 . class ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . internal . IDENT_5 . IDENT_6 IDENT_7 = mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . internal . IDENT_5 . IDENT_6 . class ) ; org . openqa . selenium . IDENT_8 IDENT_9 = mock ( org . openqa . selenium . IDENT_8 . class ) ; when ( IDENT_4 . METHOD_1 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . METHOD_2 ( "test" ) ) . thenReturn ( IDENT_9 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . internal . IDENT_10 IDENT_11 = new com . IDENT_0 . IDENT_1 . IDENT_2 . internal . METHOD_3 ( IDENT_4 , com . IDENT_0 . IDENT_1 . web . IDENT_12 . METHOD_4 ( "test" ) ) ; org . openqa . selenium . IDENT_8 child = IDENT_11 . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { return IDENT_13 . METHOD_6 ( IDENT_14 ) ; }
org . junit . Assert . assertSame ( IDENT_9 , child )