METHOD_0 ( ) { org . mockito . Mockito . when ( eu . IDENT_0 . IDENT_1 . rest . client . IDENT_2 . IDENT_3 . response . getStatus ( ) ) . thenReturn ( 200 ) ; org . mockito . Mockito . when ( eu . IDENT_0 . IDENT_1 . rest . client . IDENT_2 . IDENT_3 . response . METHOD_1 ( org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result . class ) ) . thenReturn ( new org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result ( STRING_0 ) ) ; java . lang . String record = eu . IDENT_0 . IDENT_1 . rest . client . IDENT_2 . IDENT_3 . IDENT_6 . METHOD_2 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { javax . ws . rs . client . IDENT_7 target = client . target ( ( ( ( IDENT_8 ) + "/" ) + ( org . IDENT_4 . IDENT_1 . rest . IDENT_5 . IDENT_9 . IDENT_10 ) ) ) . METHOD_3 ( STRING_1 , id ) ; javax . ws . rs . core . Response response = target . request ( IDENT_11 . IDENT_12 ) . get ( ) ; if ( ( response . getStatus ( ) ) == INT_0 ) { org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result IDENT_13 = response . METHOD_1 ( org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result . class ) ; eu . IDENT_0 . IDENT_1 . rest . client . IDENT_2 . IDENT_14 . LOGGER . warn ( ( STRING_2 + ( IDENT_13 . METHOD_4 ( ) ) ) ) ; throw new IDENT_15 . IDENT_16 . IDENT_17 . util . exceptions . METHOD_5 ( IDENT_13 . METHOD_4 ( ) ) ; } else if ( ( response . getStatus ( ) ) == INT_1 ) { org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result IDENT_13 = response . METHOD_1 ( org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result . class ) ; eu . IDENT_0 . IDENT_1 . rest . client . IDENT_2 . IDENT_14 . LOGGER . warn ( ( STRING_2 + ( IDENT_13 . METHOD_4 ( ) ) ) ) ; throw new IDENT_15 . IDENT_16 . IDENT_17 . util . exceptions . METHOD_6 ( IDENT_13 . METHOD_4 ( ) ) ; } else if ( ( response . getStatus ( ) ) == INT_2 ) { org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result IDENT_13 = response . METHOD_1 ( org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result . class ) ; eu . IDENT_0 . IDENT_1 . rest . client . IDENT_2 . IDENT_14 . LOGGER . warn ( ( STRING_2 + ( IDENT_13 . METHOD_4 ( ) ) ) ) ; throw new javax . ws . rs . METHOD_7 ( IDENT_13 . METHOD_4 ( ) ) ; } eu . IDENT_0 . IDENT_1 . rest . client . IDENT_2 . IDENT_14 . LOGGER . info ( STRING_3 ) ; org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result result = response . METHOD_1 ( org . IDENT_4 . IDENT_1 . rest . IDENT_5 . Result . class ) ; return result . METHOD_4 ( ) ; }
org . junit . Assert . assertNotNull ( record )