METHOD_0 ( ) { com . facebook . buck . io . IDENT_0 . impl . IDENT_1 IDENT_0 = new com . facebook . buck . io . IDENT_0 . impl . METHOD_1 ( ) ; java . nio . file . Path IDENT_2 = java . nio . file . IDENT_3 . get ( STRING_0 ) ; try ( java . io . IDENT_4 stream = IDENT_0 . METHOD_2 ( IDENT_2 ) ) { stream . write ( STRING_1 . getBytes ( IDENT_5 . UTF_8 ) ) ; } "<AssertPlaceHolder>" ; } METHOD_3 ( java . nio . file . Path ) { if ( ! ( exists ( path ) ) ) { return java . util . Optional . empty ( ) ; } return java . util . Optional . of ( new java . lang . String ( METHOD_4 ( path ) , com . google . common . base . IDENT_6 . UTF_8 ) ) ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_0 . METHOD_3 ( IDENT_2 ) . get ( ) )