METHOD_0 ( ) { final javax . IDENT_0 . IDENT_1 . spi . IDENT_2 < java . lang . Object > bean = mock ( javax . IDENT_0 . IDENT_1 . spi . IDENT_2 . class ) ; final javax . IDENT_0 . context . spi . Context context = mock ( javax . IDENT_0 . context . spi . Context . class ) ; final javax . IDENT_0 . context . spi . IDENT_3 < java . lang . Object > IDENT_4 = mock ( javax . IDENT_0 . context . spi . IDENT_3 . class ) ; final java . lang . Object instance = mock ( java . lang . Object . class ) ; when ( IDENT_5 . METHOD_1 ( bean . METHOD_2 ( ) ) ) . thenReturn ( context ) ; when ( IDENT_5 . METHOD_3 ( bean ) ) . thenReturn ( IDENT_4 ) ; when ( context . get ( bean , IDENT_4 ) ) . thenReturn ( instance ) ; final java . lang . Object result = IDENT_6 . METHOD_4 ( bean ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( javax . IDENT_0 . IDENT_1 . spi . IDENT_2 ) { return IDENT_5 . METHOD_1 ( bean . METHOD_2 ( ) ) . get ( bean , IDENT_5 . METHOD_3 ( bean ) ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . core . Is . is ( instance ) )