METHOD_0 ( ) { com . fasterxml . jackson . databind . IDENT_0 IDENT_1 = fr . gouv . vitam . common . json . IDENT_2 . METHOD_1 ( IDENT_3 ) ; when ( fr . gouv . vitam . IDENT_4 . IDENT_5 . client . IDENT_6 . mock . METHOD_2 ( ) ) . thenReturn ( javax . ws . rs . core . Response . status ( Status . IDENT_7 . getStatusCode ( ) ) . entity ( new fr . gouv . vitam . common . model . IDENT_8 < fr . gouv . vitam . common . model . IDENT_9 > ( ) . METHOD_3 ( new fr . gouv . vitam . common . model . METHOD_4 ( ) ) ) . build ( ) ) ; try ( fr . gouv . vitam . IDENT_4 . IDENT_5 . client . IDENT_10 client = ( ( fr . gouv . vitam . IDENT_4 . IDENT_5 . client . IDENT_10 ) ( fr . gouv . vitam . IDENT_4 . IDENT_5 . client . IDENT_6 . IDENT_11 . METHOD_5 ( ) ) ) ) { fr . gouv . vitam . common . model . IDENT_12 < fr . gouv . vitam . common . model . METHOD_4 > result = client . METHOD_6 ( new fr . gouv . vitam . common . client . METHOD_7 ( IDENT_13 ) , new fr . gouv . vitam . common . model . METHOD_8 ( IDENT_1 , java . util . Collections . singletonList ( STRING_0 ) ) ) ; "<AssertPlaceHolder>" ; } } METHOD_9 ( ) { return this . IDENT_14 ; }
org . junit . Assert . assertEquals ( result . METHOD_9 ( ) , Status . IDENT_7 . getStatusCode ( ) )