METHOD_0 ( ) { final com . allanbank . mongodb . bson . Document IDENT_0 = com . allanbank . mongodb . bson . builder . IDENT_1 . start ( ) . build ( ) ; final com . allanbank . mongodb . bson . Document query = com . allanbank . mongodb . bson . builder . IDENT_1 . start ( ) . build ( ) ; final com . allanbank . mongodb . bson . Document doc = com . allanbank . mongodb . bson . builder . IDENT_1 . start ( ) . add ( STRING_0 , query ) . add ( STRING_1 , true ) . build ( ) ; final com . allanbank . mongodb . client . message . Query message = new com . allanbank . mongodb . client . message . Query ( "test" , "test" , doc , null , 0 , 0 , 0 , false , com . allanbank . mongodb . IDENT_2 . IDENT_3 , false , false , false , false ) ; final com . allanbank . mongodb . builder . IDENT_4 . Builder IDENT_5 = new com . allanbank . mongodb . builder . IDENT_4 . Builder ( query ) ; IDENT_5 . METHOD_1 ( IDENT_2 . IDENT_3 ) ; expect ( IDENT_6 . getName ( ) ) . andReturn ( "test" ) ; IDENT_7 . METHOD_2 ( eq ( message ) , com . allanbank . mongodb . IDENT_8 . METHOD_3 ( METHOD_4 ( IDENT_0 ) ) ) ; METHOD_5 ( ) ; replay ( ) ; final java . util . concurrent . IDENT_9 < com . allanbank . mongodb . bson . Document > future = IDENT_10 . METHOD_6 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( ) ; } METHOD_6 ( com . allanbank . mongodb . builder . IDENT_11 ) { return METHOD_6 ( query . build ( ) ) ; }
org . junit . Assert . assertSame ( IDENT_0 , future . get ( ) )