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 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { fr . gouv . vitam . common . IDENT_4 . METHOD_3 ( IDENT_5 . IDENT_6 . getMessage ( ) , IDENT_7 ) ; javax . ws . rs . core . Response response = null ; try { response = METHOD_4 ( IDENT_8 . IDENT_9 , ( ( fr . gouv . vitam . IDENT_0 . client . IDENT_10 . IDENT_11 ) + IDENT_7 ) , null , IDENT_12 . IDENT_13 ) ; if ( ( Status . IDENT_2 . getStatusCode ( ) ) == ( response . getStatus ( ) ) ) { fr . gouv . vitam . IDENT_0 . client . IDENT_10 . LOGGER . debug ( ( ( IDENT_7 + STRING_0 ) + ( Response . Status . IDENT_2 . METHOD_5 ( ) ) ) ) ; } else if ( ( Status . IDENT_14 . getStatusCode ( ) ) == ( response . getStatus ( ) ) ) { fr . gouv . vitam . IDENT_0 . client . IDENT_10 . LOGGER . info ( IDENT_5 . IDENT_15 . getMessage ( ) ) ; throw new fr . gouv . vitam . IDENT_0 . api . exception . METHOD_6 ( IDENT_5 . IDENT_15 . getMessage ( ) ) ; } else { fr . gouv . vitam . IDENT_0 . client . IDENT_10 . LOGGER . error ( response . METHOD_7 ( ) . METHOD_5 ( ) ) ; throw new fr . gouv . vitam . IDENT_0 . api . exception . METHOD_8 ( IDENT_5 . IDENT_16 . getMessage ( ) ) ; } } catch ( final fr . gouv . vitam . common . exception . IDENT_17 e ) { fr . gouv . vitam . IDENT_0 . client . IDENT_10 . LOGGER . error ( fr . gouv . vitam . IDENT_0 . client . IDENT_10 . IDENT_18 , e ) ; throw new fr . gouv . vitam . IDENT_0 . api . exception . METHOD_8 ( e ) ; } finally { METHOD_9 ( response ) ; } }
org . junit . Assert . assertTrue ( true )