METHOD_0 ( ) { fr . gouv . vitam . common . IDENT_0 . IDENT_1 . METHOD_1 ( ) . METHOD_2 ( fr . gouv . vitam . IDENT_2 . IDENT_3 . client . IDENT_4 . IDENT_5 ) ; when ( fr . gouv . vitam . IDENT_2 . IDENT_3 . client . IDENT_4 . mock . METHOD_3 ( ) ) . thenReturn ( javax . ws . rs . core . Response . status ( Status . IDENT_6 ) . entity ( new fr . gouv . vitam . common . model . IDENT_7 < fr . gouv . vitam . common . model . IDENT_3 . IDENT_8 > ( ) . METHOD_4 ( METHOD_5 ( ) ) ) . build ( ) ) ; try ( fr . gouv . vitam . IDENT_2 . IDENT_3 . client . IDENT_9 client = ( ( fr . gouv . vitam . IDENT_2 . IDENT_3 . client . IDENT_9 ) ( fr . gouv . vitam . IDENT_2 . IDENT_3 . client . IDENT_4 . IDENT_10 . METHOD_6 ( ) ) ) ) { javax . ws . rs . core . Response . Status IDENT_11 = client . METHOD_7 ( new java . util . ArrayList ( ) ) ; "<AssertPlaceHolder>" ; } } METHOD_7 ( java . util . List ) { fr . gouv . vitam . common . IDENT_12 . METHOD_8 ( STRING_0 , IDENT_13 ) ; javax . ws . rs . core . Response response = null ; try { response = METHOD_9 ( javax . ws . rs . IDENT_14 . IDENT_15 , fr . gouv . vitam . IDENT_2 . IDENT_3 . client . IDENT_9 . IDENT_16 , null , IDENT_13 , javax . ws . rs . core . IDENT_17 . IDENT_18 , javax . ws . rs . core . IDENT_17 . IDENT_18 , false ) ; final javax . ws . rs . core . Response . Status status = javax . ws . rs . core . Response . Status . METHOD_10 ( response . getStatus ( ) ) ; return status ; } catch ( fr . gouv . vitam . common . exception . IDENT_19 e ) { fr . gouv . vitam . IDENT_2 . IDENT_3 . client . IDENT_9 . LOGGER . error ( STRING_1 , e ) ; throw new fr . gouv . vitam . IDENT_2 . IDENT_3 . common . exception . METHOD_11 ( STRING_1 , e ) ; } finally { METHOD_12 ( response ) ; } }
org . junit . Assert . assertEquals ( IDENT_11 , Status . IDENT_6 )