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