METHOD_0 ( ) { org . springframework . data . mongodb . core . IDENT_0 . IDENT_1 IDENT_2 = group ( STRING_0 ) . METHOD_1 ( STRING_1 ) . as ( STRING_2 ) ; org . springframework . data . mongodb . core . IDENT_0 . IDENT_3 IDENT_4 = match ( new org . springframework . data . mongodb . core . query . METHOD_2 ( STRING_2 ) . METHOD_3 ( INT_0 ) ) ; org . springframework . data . mongodb . core . IDENT_0 . IDENT_5 IDENT_6 = METHOD_4 ( new org . springframework . data . domain . METHOD_5 ( org . springframework . data . domain . METHOD_5 . IDENT_7 . IDENT_8 , STRING_2 ) ) ; org . springframework . data . mongodb . core . IDENT_0 . IDENT_9 IDENT_0 = METHOD_6 ( IDENT_2 , IDENT_4 , IDENT_6 ) ; org . springframework . data . mongodb . core . IDENT_0 . IDENT_10 < com . baeldung . IDENT_0 . model . IDENT_11 > result = IDENT_12 . METHOD_7 ( IDENT_0 , STRING_3 , com . baeldung . IDENT_0 . model . IDENT_11 . class ) ; java . util . List < com . baeldung . IDENT_0 . model . IDENT_11 > IDENT_13 = java . util . stream . IDENT_14 . stream ( result . METHOD_8 ( ) , false ) . collect ( java . util . stream . IDENT_15 . toList ( ) ) ; java . util . List < com . baeldung . IDENT_0 . model . IDENT_11 > IDENT_16 = new java . util . ArrayList ( IDENT_13 ) ; java . util . Collections . METHOD_4 ( IDENT_16 , ( IDENT_17 , IDENT_18 ) -> ( IDENT_18 . METHOD_9 ( ) ) - ( IDENT_17 . METHOD_9 ( ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( ) { return IDENT_19 ; }
org . junit . Assert . assertEquals ( IDENT_16 , IDENT_13 )