METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 ( ) ; IDENT_6 . IDENT_7 = "1" ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_8 mapper = new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( ) ; mapper . METHOD_3 ( ) . METHOD_4 ( true ) ; java . io . File IDENT_9 = new java . io . File ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_10 , IDENT_11 ) ; try ( java . io . InputStream template = new java . io . METHOD_5 ( IDENT_12 ) ; java . io . IDENT_13 out = new java . io . METHOD_6 ( IDENT_9 ) ) { mapper . save ( template , out , IDENT_6 ) ; "<AssertPlaceHolder>" ; } } save ( com . IDENT_0 . IDENT_1 . IDENT_2 . xml . IDENT_14 . IDENT_15 , java . io . File , java . lang . String ) { com . IDENT_0 . IDENT_1 . IDENT_2 . util . IDENT_16 . METHOD_7 ( IDENT_17 , STRING_0 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . util . IDENT_16 . METHOD_7 ( file , STRING_1 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . util . IDENT_16 . METHOD_8 ( IDENT_18 , STRING_2 ) ; final javax . xml . IDENT_14 . IDENT_19 IDENT_20 ; try { javax . xml . IDENT_14 . IDENT_21 context = javax . xml . IDENT_14 . IDENT_21 . newInstance ( IDENT_17 . getClass ( ) ) ; IDENT_20 = context . METHOD_9 ( ) ; IDENT_20 . setProperty ( IDENT_19 . IDENT_22 , IDENT_18 ) ; IDENT_20 . setProperty ( IDENT_19 . IDENT_23 , true ) ; } catch ( javax . xml . IDENT_14 . IDENT_24 e ) { throw new com . IDENT_0 . IDENT_1 . IDENT_2 . xml . METHOD_10 ( STRING_3 , e ) ; } java . io . File IDENT_25 = file . METHOD_11 ( ) ; if ( ( IDENT_25 != null ) && ( ! ( IDENT_25 . exists ( ) ) ) ) { IDENT_25 . METHOD_12 ( ) ; } try ( java . io . IDENT_26 writer = new java . io . METHOD_13 ( new java . io . METHOD_6 ( file ) , IDENT_18 ) ) { IDENT_20 . METHOD_14 ( IDENT_17 , writer ) ; } catch ( javax . xml . IDENT_14 . IDENT_24 | java . io . IOException e ) { throw new com . IDENT_0 . IDENT_1 . IDENT_2 . xml . METHOD_10 ( java . lang . String . format ( STRING_4 , file . getPath ( ) ) , e ) ; } }
org . junit . Assert . assertThat ( IDENT_6 . IDENT_7 , is ( "1" ) )