contains ( ) { org . IDENT_0 . IDENT_1 . core . api . IDENT_2 IDENT_3 = IDENT_4 . METHOD_0 ( STRING_0 , STRING_1 ) ; org . IDENT_0 . commons . datastore . core . IDENT_5 IDENT_6 = IDENT_3 . contains ( STRING_2 , new org . IDENT_0 . commons . datastore . core . METHOD_1 ( ) ) ; java . util . Set < java . lang . String > reference = new java . util . HashSet ( java . util . Arrays . asList ( STRING_3 , STRING_4 , STRING_5 , STRING_6 , STRING_7 ) ) ; java . util . Set < java . lang . String > set = ( ( java . util . Set ) ( IDENT_6 . METHOD_2 ( ) . stream ( ) . map ( ( result ) -> ( ( java . lang . String ) ( ( ( org . bson . Document ) ( result ) ) . get ( STRING_8 ) ) ) ) . collect ( java . util . stream . IDENT_7 . METHOD_3 ( ) ) ) ) ; "<AssertPlaceHolder>" ; } contains ( java . lang . String , org . IDENT_0 . commons . datastore . core . METHOD_1 ) { org . bson . IDENT_8 . IDENT_9 regex = com . mongodb . client . model . IDENT_10 . regex ( STRING_9 , java . util . regex . IDENT_11 . METHOD_4 ( ( ( STRING_10 + id ) + STRING_10 ) ) ) ; org . bson . IDENT_8 . IDENT_9 IDENT_12 = com . mongodb . client . model . IDENT_13 . METHOD_5 ( STRING_8 , "name" , STRING_11 , STRING_12 , STRING_13 ) ; return IDENT_14 . find ( regex , METHOD_5 , options ) ; }
org . junit . Assert . assertEquals ( reference , set )