METHOD_0 ( ) { final com . allanbank . mongodb . client . IDENT_0 IDENT_1 = METHOD_1 ( com . allanbank . mongodb . client . IDENT_0 . class ) ; final com . allanbank . mongodb . bson . builder . IDENT_2 IDENT_3 = com . allanbank . mongodb . bson . builder . IDENT_4 . start ( ) ; IDENT_3 . add ( STRING_0 , "test" ) ; IDENT_3 . add ( STRING_1 , 2 ) ; final com . allanbank . mongodb . bson . builder . IDENT_2 IDENT_5 = com . allanbank . mongodb . bson . builder . IDENT_4 . start ( ) ; IDENT_5 . add ( STRING_2 , 1 ) ; IDENT_5 . METHOD_2 ( STRING_3 ) . METHOD_3 ( ) . METHOD_3 ( STRING_4 ) . add ( STRING_5 , INT_0 ) . METHOD_2 ( STRING_6 ) ; final com . allanbank . mongodb . builder . IDENT_6 . Builder IDENT_7 = com . allanbank . mongodb . builder . IDENT_6 . builder ( ) . METHOD_4 ( 2 ) . METHOD_5 ( IDENT_8 . IDENT_9 ) ; final com . allanbank . mongodb . client . message . IDENT_10 IDENT_11 = new com . allanbank . mongodb . client . message . METHOD_6 ( IDENT_7 . build ( ) , "test" , "test" , IDENT_3 . build ( ) , com . allanbank . mongodb . IDENT_8 . IDENT_9 ) ; expect ( IDENT_12 . METHOD_7 ( ) ) . andReturn ( IDENT_13 . IDENT_14 ) ; expect ( IDENT_15 . getName ( ) ) . andReturn ( "test" ) ; IDENT_12 . METHOD_8 ( eq ( IDENT_11 ) , com . allanbank . mongodb . IDENT_16 . METHOD_9 ( METHOD_10 ( IDENT_5 . build ( ) ) ) ) ; METHOD_11 ( ) ; replay ( IDENT_1 ) ; final java . util . Collection < com . allanbank . mongodb . IDENT_17 < com . allanbank . mongodb . bson . Document > > result = IDENT_18 . METHOD_12 ( IDENT_7 ) . get ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 ) ; } size ( ) { int size = ( IDENT_19 ) + 10 ; size += com . allanbank . mongodb . bson . io . IDENT_20 . METHOD_13 ( IDENT_21 ) ; size += com . allanbank . mongodb . bson . io . IDENT_20 . METHOD_13 ( IDENT_22 ) ; size += IDENT_23 . size ( ) ; return size ; }
org . junit . Assert . assertThat ( result . size ( ) , org . hamcrest . Matchers . is ( 1 ) )