METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; io . IDENT_1 . server . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = new io . IDENT_1 . server . IDENT_2 . IDENT_3 . METHOD_1 ( 1 ) ; java . lang . reflect . Field field = org . IDENT_6 . IDENT_2 . IDENT_7 . class . METHOD_2 ( STRING_1 ) ; field . METHOD_3 ( true ) ; IDENT_5 . add ( field . get ( null ) . toString ( ) , IDENT_0 ) ; org . bson . IDENT_8 result = org . IDENT_6 . IDENT_2 . IDENT_9 . IDENT_10 . METHOD_4 ( IDENT_5 ) ; org . bson . IDENT_8 expected = org . bson . IDENT_8 . parse ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } parse ( java . lang . String ) { if ( json == null ) { return null ; } java . lang . String IDENT_11 = json . trim ( ) ; if ( IDENT_11 . startsWith ( STRING_2 ) ) { try { return org . bson . IDENT_8 . parse ( json ) ; } catch ( org . bson . IDENT_12 ex ) { return org . IDENT_6 . utils . IDENT_13 . METHOD_5 ( json ) ; } } else if ( IDENT_11 . startsWith ( STRING_3 ) ) { return org . IDENT_6 . utils . IDENT_13 . IDENT_14 . decode ( new org . bson . json . METHOD_6 ( json ) , org . bson . IDENT_15 . IDENT_16 . builder ( ) . build ( ) ) ; } else { return org . IDENT_6 . utils . IDENT_13 . METHOD_5 ( json ) ; } }
org . junit . Assert . assertEquals ( expected , result )