METHOD_0 ( ) { try ( java . io . IDENT_0 in = new java . io . METHOD_1 ( fr . gouv . vitam . common . IDENT_1 . METHOD_2 ( fr . gouv . vitam . storage . IDENT_2 . common . rest . IDENT_3 . IDENT_4 ) ) ) { "<AssertPlaceHolder>" ; io . IDENT_5 . IDENT_6 . with ( ) . header ( IDENT_7 . IDENT_8 , "1" ) . header ( IDENT_7 . IDENT_9 , STRING_0 ) . header ( IDENT_7 . IDENT_10 , IDENT_11 . IDENT_12 . getName ( ) ) . METHOD_3 ( IDENT_13 . IDENT_14 ) . content ( in ) . when ( ) . put ( ( ( ( fr . gouv . vitam . storage . IDENT_2 . common . rest . IDENT_3 . IDENT_15 ) + ( fr . gouv . vitam . storage . IDENT_2 . common . rest . IDENT_3 . IDENT_16 ) ) + ( fr . gouv . vitam . storage . IDENT_2 . common . rest . IDENT_3 . IDENT_17 ) ) , fr . gouv . vitam . storage . IDENT_2 . common . rest . IDENT_3 . IDENT_18 , STRING_1 ) ; } METHOD_4 ( STRING_2 , STRING_1 ) ; io . IDENT_5 . IDENT_6 . METHOD_5 ( ) . header ( IDENT_7 . IDENT_8 , "1" ) . METHOD_3 ( IDENT_13 . IDENT_19 ) . METHOD_6 ( ) . METHOD_7 ( Status . IDENT_20 . getStatusCode ( ) ) . when ( ) . get ( ( ( ( fr . gouv . vitam . storage . IDENT_2 . common . rest . IDENT_3 . IDENT_15 ) + ( fr . gouv . vitam . storage . IDENT_2 . common . rest . IDENT_3 . IDENT_16 ) ) + ( fr . gouv . vitam . storage . IDENT_2 . common . rest . IDENT_3 . IDENT_17 ) ) , fr . gouv . vitam . storage . IDENT_2 . common . rest . IDENT_3 . IDENT_18 , STRING_1 ) ; } METHOD_2 ( java . lang . String ) { java . io . File file = new java . io . File ( IDENT_21 ) ; try { if ( ! ( file . exists ( ) ) ) { file = fr . gouv . vitam . common . IDENT_1 . METHOD_8 ( IDENT_21 ) ; if ( ! ( file . exists ( ) ) ) { file = fr . gouv . vitam . common . IDENT_1 . METHOD_9 ( IDENT_21 ) ; } } } catch ( final java . io . IDENT_22 e ) { IDENT_23 . IDENT_24 . METHOD_10 ( e ) ; throw new java . io . METHOD_11 ( ( STRING_3 + IDENT_21 ) ) ; } if ( ! ( file . exists ( ) ) ) { throw new java . io . METHOD_11 ( ( STRING_3 + IDENT_21 ) ) ; } return file ; }
org . junit . Assert . assertNotNull ( in )