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 . put ( ) ) . 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 ( ) ) ) ) { fr . gouv . vitam . common . model . IDENT_7 < fr . gouv . vitam . common . model . METHOD_1 > response = client . METHOD_3 ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_3 . IDENT_8 , fr . gouv . vitam . IDENT_2 . management . client . IDENT_3 . IDENT_9 ) ; "<AssertPlaceHolder>" ; } } METHOD_3 ( java . lang . String , java . lang . String ) { fr . gouv . vitam . common . IDENT_10 . METHOD_4 ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . IDENT_11 , IDENT_12 ) ; fr . gouv . vitam . common . IDENT_10 . METHOD_4 ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . IDENT_13 , IDENT_14 ) ; javax . ws . rs . core . Response response = null ; try { response = METHOD_5 ( IDENT_15 . IDENT_16 , ( ( ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . IDENT_17 ) + "/" ) + IDENT_12 ) , METHOD_6 ( null , IDENT_14 ) , null , IDENT_18 . IDENT_19 , IDENT_18 . IDENT_19 ) ; 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_20 ) ; } else if ( ( response . getStatus ( ) ) == ( Status . IDENT_21 . getStatusCode ( ) ) ) { throw new java . lang . IllegalArgumentException ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . IDENT_22 ) ; } else if ( ( response . getStatus ( ) ) == ( Status . IDENT_23 . getStatusCode ( ) ) ) { throw new fr . gouv . vitam . common . exception . METHOD_8 ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . IDENT_24 ) ; } else if ( ( response . getStatus ( ) ) == ( Status . IDENT_25 . getStatusCode ( ) ) ) { throw new fr . gouv . vitam . common . exception . METHOD_8 ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . IDENT_24 ) ; } fr . gouv . vitam . common . model . METHOD_1 IDENT_26 = response . METHOD_9 ( fr . gouv . vitam . common . model . METHOD_1 . class ) ; return new fr . gouv . vitam . common . model . IDENT_27 < fr . gouv . vitam . common . model . METHOD_1 > ( ) . METHOD_10 ( IDENT_26 ) . METHOD_11 ( response ) ; } 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_8 ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . IDENT_24 , e ) ; } catch ( final fr . gouv . vitam . common . exception . IDENT_28 e ) { fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . LOGGER . debug ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . IDENT_29 , e ) ; throw new fr . gouv . vitam . common . exception . METHOD_8 ( fr . gouv . vitam . IDENT_2 . management . client . IDENT_5 . IDENT_24 , e ) ; } finally { METHOD_12 ( response ) ; } }
org . junit . Assert . assertNotNull ( response )