METHOD_0 ( ) { template . insert ( new org . springframework . data . mongodb . core . Person ( STRING_0 ) ) ; template . insert ( new org . springframework . data . mongodb . core . Person ( STRING_1 ) ) ; template . insert ( new org . springframework . data . mongodb . core . Person ( STRING_2 ) ) ; final org . springframework . data . mongodb . core . List < java . lang . String > IDENT_0 = new org . springframework . data . mongodb . core . ArrayList < java . lang . String > ( ) ; template . METHOD_1 ( new org . springframework . data . mongodb . core . Query ( ) , template . METHOD_2 ( org . springframework . data . mongodb . core . Person . class ) , new org . springframework . data . mongodb . core . METHOD_3 ( ) { public void METHOD_4 ( org . bson . Document document ) { java . lang . String name = ( ( java . lang . String ) ( document . get ( STRING_3 ) ) ) ; if ( name != null ) { IDENT_0 . add ( name ) ; } } } , new org . springframework . data . mongodb . core . METHOD_5 ( ) { public com . mongodb . client . IDENT_1 < org . bson . Document > METHOD_6 ( com . mongodb . client . IDENT_1 < org . bson . Document > IDENT_2 ) { IDENT_2 . METHOD_7 ( 1 ) ; return IDENT_2 ; } } ) ; "<AssertPlaceHolder>" ; template . remove ( new org . springframework . data . mongodb . core . Query ( ) , org . springframework . data . mongodb . core . Person . class ) ; } METHOD_6 ( org . springframework . data . mongodb . core . Query ) { org . springframework . data . mongodb . core . METHOD_5 IDENT_3 = new org . springframework . data . mongodb . core . METHOD_8 ( factory ) . new org . springframework . data . mongodb . core . METHOD_8 . METHOD_9 ( query , null ) ; return IDENT_3 . METHOD_6 ( IDENT_2 ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_0 . size ( ) )