METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . function . IDENT_2 strategy = new com . IDENT_0 . IDENT_1 . function . METHOD_1 ( ) ; strategy . METHOD_2 ( true ) ; strategy . METHOD_3 ( java . util . Date . class , new com . IDENT_0 . IDENT_1 . function . impl . write . METHOD_4 ( ) { MOD_0 java . text . IDENT_3 format = new java . text . METHOD_5 ( STRING_0 ) ; @ com . IDENT_0 . IDENT_1 . test . Override public void write ( java . lang . Object field , com . IDENT_0 . IDENT_4 . collection . IDENT_5 cache , java . lang . Object entity , com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 IDENT_6 ) { cache . append ( STRING_1 ) . append ( format . format ( ( ( java . util . Date ) ( field ) ) ) ) . append ( STRING_1 ) ; } } ) ; logger . info ( strategy . write ( info ) ) ; java . lang . String result = STRING_2 ; "<AssertPlaceHolder>" ; } write ( java . lang . Object ) { com . IDENT_0 . IDENT_4 . collection . IDENT_5 cache = com . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 . get ( ) ; cache . METHOD_6 ( ) ; com . IDENT_0 . IDENT_1 . function . IDENT_10 . write ( value , cache ) ; return cache . toString ( ) ; }
org . junit . Assert . assertEquals ( result , strategy . write ( info ) )