METHOD_0 ( ) { when ( fr . gouv . vitam . storage . IDENT_0 . IDENT_1 . driver . IDENT_2 . mock . get ( ) ) . thenReturn ( javax . ws . rs . core . Response . status ( Status . IDENT_3 ) . build ( ) ) ; final fr . gouv . vitam . storage . driver . model . IDENT_4 request = new fr . gouv . vitam . storage . driver . model . METHOD_1 ( fr . gouv . vitam . storage . IDENT_0 . IDENT_1 . driver . IDENT_2 . IDENT_5 , IDENT_6 . IDENT_7 . METHOD_2 ( ) , STRING_0 ) ; try ( fr . gouv . vitam . storage . driver . IDENT_8 connection = fr . gouv . vitam . storage . IDENT_0 . IDENT_1 . driver . IDENT_2 . driver . connect ( fr . gouv . vitam . storage . IDENT_0 . IDENT_1 . driver . IDENT_2 . IDENT_9 . getId ( ) ) ) { connection . METHOD_3 ( request ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( final fr . gouv . vitam . storage . driver . exception . IDENT_10 IDENT_11 ) { "<AssertPlaceHolder>" ; } } METHOD_3 ( fr . gouv . vitam . storage . driver . model . METHOD_1 ) { return new fr . gouv . vitam . storage . driver . model . METHOD_4 ( IDENT_12 . METHOD_5 ( ) , IDENT_12 . getType ( ) , IDENT_12 . METHOD_6 ( ) , new fr . gouv . vitam . common . client . IDENT_13 . METHOD_7 ( javax . ws . rs . core . Response . Status . IDENT_14 , new java . io . ByteArrayInputStream ( "test" . getBytes ( ) ) , javax . ws . rs . core . IDENT_15 . IDENT_16 , null ) ) ; }
org . junit . Assert . assertEquals ( fr . gouv . vitam . storage . driver . exception . IDENT_10 . class , IDENT_11 . getClass ( ) )