METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . String > IDENT_0 = new java . util . HashMap ( ) ; IDENT_0 . put ( IDENT_1 . IDENT_2 , java . lang . String . valueOf ( IDENT_3 . METHOD_1 ( uk . gov . IDENT_4 . IDENT_5 . entity . IDENT_6 . IDENT_7 . IDENT_3 . IDENT_8 . IDENT_9 ) ) ) ; IDENT_0 . put ( IDENT_1 . IDENT_10 , IDENT_3 . METHOD_2 ( ) ) ; try ( uk . gov . IDENT_4 . IDENT_5 . entity . IDENT_6 . IDENT_7 . IDENT_3 . IDENT_1 IDENT_11 = new uk . gov . IDENT_4 . IDENT_5 . entity . IDENT_6 . IDENT_7 . IDENT_3 . METHOD_3 ( IDENT_0 ) ) { com . mongodb . client . IDENT_12 IDENT_13 = IDENT_11 . METHOD_4 ( ) ; com . mongodb . client . IDENT_14 < org . bson . Document > collection = IDENT_13 . METHOD_5 ( STRING_0 ) ; collection . METHOD_6 ( new org . bson . Document ( ) . append ( STRING_1 , STRING_2 ) ) ; org . bson . Document document = collection . find ( ) . first ( ) ; "<AssertPlaceHolder>" ; } } get ( java . lang . String ) { return metadata . find ( key ) ; }
org . junit . Assert . assertEquals ( STRING_2 , document . get ( STRING_1 ) )