METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 context = METHOD_1 ( ) ; java . lang . String expResult = STRING_0 ; java . lang . String result ; try { result = org . IDENT_0 . utils . IDENT_3 . METHOD_2 ( context , STRING_1 , STRING_2 , new org . bson . METHOD_3 ( STRING_3 ) ) ; "<AssertPlaceHolder>" ; } catch ( org . IDENT_0 . IDENT_4 . IDENT_5 ex ) { org . junit . Assert . fail ( ex . getMessage ( ) ) ; } } METHOD_2 ( org . IDENT_0 . IDENT_1 . IDENT_2 , java . lang . String , java . lang . String , org . bson . IDENT_6 ) { org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_7 IDENT_8 = org . IDENT_0 . utils . IDENT_3 . METHOD_4 ( id ) ; java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; sb . append ( "/" ) . append ( IDENT_9 ) . append ( "/" ) . append ( IDENT_10 ) . append ( "/" ) . append ( org . IDENT_0 . utils . IDENT_3 . METHOD_5 ( id ) ) ; if ( ( IDENT_8 == ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_7 . IDENT_11 ) ) && ( org . bson . types . IDENT_12 . isValid ( id . METHOD_6 ( ) . getValue ( ) ) ) ) { sb . append ( STRING_4 ) ; } else if ( ( IDENT_8 != ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_7 . IDENT_11 ) ) && ( IDENT_8 != ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_7 . IDENT_13 ) ) ) { sb . append ( STRING_5 ) . append ( IDENT_8 . name ( ) ) ; } return context . METHOD_7 ( sb . toString ( ) ) ; }
org . junit . Assert . assertEquals ( expResult , result )