METHOD_0 ( ) { when ( fr . gouv . vitam . IDENT_0 . client . IDENT_1 . mock . METHOD_1 ( ) ) . thenReturn ( javax . ws . rs . core . Response . status ( Status . IDENT_2 ) . build ( ) ) ; fr . gouv . vitam . IDENT_0 . client . IDENT_1 . client . METHOD_2 ( fr . gouv . vitam . IDENT_0 . client . IDENT_1 . IDENT_3 , fr . gouv . vitam . IDENT_0 . client . IDENT_1 . IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . lang . String ) { fr . gouv . vitam . common . IDENT_5 . METHOD_3 ( IDENT_6 . IDENT_7 . getMessage ( ) , IDENT_8 , IDENT_9 ) ; javax . ws . rs . core . Response response = null ; try { response = METHOD_4 ( IDENT_10 . IDENT_11 , ( ( ( ( fr . gouv . vitam . IDENT_0 . client . IDENT_12 . IDENT_13 ) + IDENT_8 ) + ( fr . gouv . vitam . IDENT_0 . client . IDENT_12 . IDENT_14 ) ) + IDENT_9 ) , null , IDENT_15 . IDENT_16 ) ; if ( ( Status . IDENT_2 . getStatusCode ( ) ) == ( response . getStatus ( ) ) ) { fr . gouv . vitam . IDENT_0 . client . IDENT_12 . LOGGER . debug ( ( ( ( ( IDENT_8 + "/" ) + IDENT_9 ) + STRING_0 ) + ( Response . Status . IDENT_2 . METHOD_5 ( ) ) ) ) ; } else if ( ( Status . IDENT_17 . getStatusCode ( ) ) == ( response . getStatus ( ) ) ) { fr . gouv . vitam . IDENT_0 . client . IDENT_12 . LOGGER . warn ( IDENT_6 . IDENT_18 . getMessage ( ) ) ; throw new fr . gouv . vitam . IDENT_0 . api . exception . METHOD_6 ( IDENT_6 . IDENT_18 . getMessage ( ) ) ; } else { fr . gouv . vitam . IDENT_0 . client . IDENT_12 . LOGGER . error ( response . METHOD_7 ( ) . METHOD_5 ( ) ) ; throw new fr . gouv . vitam . IDENT_0 . api . exception . METHOD_8 ( IDENT_6 . IDENT_19 . getMessage ( ) ) ; } } catch ( final fr . gouv . vitam . common . exception . IDENT_20 e ) { fr . gouv . vitam . IDENT_0 . client . IDENT_12 . LOGGER . error ( fr . gouv . vitam . IDENT_0 . client . IDENT_12 . IDENT_21 , e ) ; throw new fr . gouv . vitam . IDENT_0 . api . exception . METHOD_8 ( e ) ; } finally { METHOD_9 ( response ) ; } }
org . junit . Assert . assertTrue ( true )