METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . impl . client . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_0 . IDENT_1 . impl . client . IDENT_2 . METHOD_1 ( ) ; IDENT_4 . IDENT_5 = new org . jboss . IDENT_0 . core . api . IDENT_6 < org . IDENT_0 . IDENT_1 . spi . IDENT_7 > ( ) { @ org . IDENT_0 . IDENT_1 . impl . client . IDENT_2 . Override public org . IDENT_0 . IDENT_1 . spi . IDENT_7 get ( ) { final org . IDENT_0 . IDENT_1 . spi . IDENT_7 IDENT_8 = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . spi . IDENT_7 . class ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_2 ( "test" ) ) . METHOD_3 ( new org . mockito . IDENT_9 . IDENT_10 < java . lang . Object > ( ) { @ org . IDENT_0 . IDENT_1 . impl . client . IDENT_2 . Override public java . lang . Object METHOD_4 ( org . mockito . IDENT_11 . IDENT_12 IDENT_13 ) throws java . lang . Throwable { final org . IDENT_0 . IDENT_1 . spi . metadata . IDENT_14 IDENT_15 = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . spi . metadata . IDENT_14 . class ) ; org . mockito . Mockito . when ( IDENT_15 . METHOD_5 ( ) ) . thenReturn ( STRING_0 ) ; final org . IDENT_0 . IDENT_1 . spi . IDENT_16 < ? > IDENT_1 = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . spi . IDENT_16 . class ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_6 ( org . IDENT_0 . IDENT_1 . spi . metadata . IDENT_14 . class ) ) . thenReturn ( true ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_7 ( org . IDENT_0 . IDENT_1 . spi . metadata . IDENT_14 . class ) ) . thenReturn ( IDENT_15 ) ; return IDENT_1 ; } } ) ; return IDENT_8 ; } } ; final org . IDENT_0 . IDENT_1 . impl . client . IDENT_2 . IDENT_17 . IDENT_18 IDENT_19 = new org . IDENT_0 . IDENT_1 . impl . client . IDENT_2 . IDENT_17 . METHOD_8 ( ) ; final java . lang . Object [ ] IDENT_20 = IDENT_4 . resolve ( IDENT_19 . getClass ( ) . METHOD_9 ( STRING_1 , java . lang . String . class , java . lang . String . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . Class ) { return ( ( IDENT_21 ) ( metadata . get ( type ) ) ) ; }
org . junit . Assert . assertThat ( ( ( java . lang . String ) ( IDENT_20 [ 1 ] ) ) , org . hamcrest . core . Is . is ( STRING_0 ) )