METHOD_0 ( ) { com . mongodb . IDENT_0 IDENT_1 = METHOD_1 ( ) ; com . mongodb . IDENT_2 IDENT_3 = METHOD_2 ( ) ; expect ( IDENT_3 . hasNext ( ) ) . METHOD_3 ( new org . easymock . IDENT_4 < java . lang . Boolean > ( ) { MOD_0 int count = 0 ; @ net . IDENT_5 . IDENT_6 . store . Override public net . IDENT_5 . IDENT_6 . store . Boolean METHOD_4 ( ) throws java . lang . Throwable { ( count ) ++ ; return ( count ) == 3 ? false : true ; } } ) . METHOD_5 ( ) ; expect ( IDENT_3 . next ( ) ) . METHOD_3 ( new org . easymock . IDENT_4 < com . mongodb . IDENT_7 > ( ) { MOD_0 int count = 0 ; @ net . IDENT_5 . IDENT_6 . store . Override public com . mongodb . IDENT_7 METHOD_4 ( ) throws java . lang . Throwable { ( count ) ++ ; com . mongodb . IDENT_8 IDENT_9 = new com . mongodb . METHOD_6 ( ) ; IDENT_9 . put ( STRING_0 , ( STRING_1 + ( count ) ) ) ; IDENT_9 . put ( STRING_2 , false ) ; IDENT_9 . put ( STRING_3 , count ) ; IDENT_9 . put ( STRING_4 , new org . bson . types . METHOD_7 ( ( STRING_5 + ( count ) ) ) ) ; return IDENT_9 ; } } ) . METHOD_5 ( ) ; IDENT_3 . close ( ) ; METHOD_8 ( ) ; replay ( IDENT_3 ) ; expect ( IDENT_1 . find ( ) ) . andReturn ( IDENT_3 ) ; replay ( IDENT_1 ) ; net . IDENT_5 . IDENT_6 . store . IDENT_10 store = new net . IDENT_5 . IDENT_6 . store . METHOD_9 ( IDENT_1 ) ; java . util . Collection < net . IDENT_5 . IDENT_6 . model . IDENT_11 > IDENT_12 = store . METHOD_10 ( ) ; java . util . List < net . IDENT_5 . IDENT_6 . model . IDENT_11 > IDENT_13 = new java . util . ArrayList < net . IDENT_5 . IDENT_6 . model . IDENT_11 > ( ) ; net . IDENT_5 . IDENT_6 . model . IDENT_11 IDENT_14 = new net . IDENT_5 . IDENT_6 . model . METHOD_11 ( ) ; IDENT_14 . setId ( STRING_6 ) ; IDENT_14 . METHOD_12 ( STRING_7 ) ; IDENT_14 . METHOD_13 ( 1 ) ; net . IDENT_5 . IDENT_6 . model . METHOD_11 IDENT_15 = new net . IDENT_5 . IDENT_6 . model . METHOD_11 ( ) ; IDENT_15 . setId ( STRING_8 ) ; IDENT_15 . METHOD_12 ( STRING_9 ) ; IDENT_15 . METHOD_13 ( 2 ) ; IDENT_13 . add ( IDENT_14 ) ; IDENT_13 . add ( IDENT_15 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 ) ; verify ( IDENT_1 ) ; } METHOD_13 ( int ) { this . order = order ; }
org . junit . Assert . assertEquals ( IDENT_13 , IDENT_12 )