METHOD_0 ( ) { java . nio . IDENT_0 . IDENT_1 IDENT_2 = java . nio . IDENT_0 . IDENT_3 . UTF_8 ; java . lang . String IDENT_4 = STRING_0 ; java . lang . String IDENT_5 = STRING_1 ; java . util . Properties properties = new java . util . Properties ( ) ; properties . setProperty ( IDENT_4 , IDENT_5 ) ; java . io . ByteArrayOutputStream actual = new java . io . ByteArrayOutputStream ( ) ; java . io . ByteArrayOutputStream expected = new java . io . ByteArrayOutputStream ( ) ; org . openmrs . util . IDENT_6 . METHOD_1 ( properties , actual , null ) ; properties . store ( new java . io . METHOD_2 ( expected , IDENT_2 ) , null ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . Properties , java . io . File , java . lang . String ) { java . io . IDENT_7 IDENT_8 = null ; try { IDENT_8 = new java . io . METHOD_3 ( file , true ) ; org . openmrs . util . IDENT_6 . METHOD_1 ( properties , IDENT_8 , IDENT_9 ) ; } catch ( java . io . IOException ex ) { org . openmrs . util . IDENT_6 . log . error ( ( ( STRING_2 + ( file . getAbsolutePath ( ) ) ) + STRING_3 ) ) ; } finally { try { if ( IDENT_8 != null ) { IDENT_8 . close ( ) ; } } catch ( java . io . IOException IDENT_10 ) { } } }
org . junit . Assert . assertThat ( actual . toByteArray ( ) , org . hamcrest . Matchers . is ( expected . toByteArray ( ) ) )