METHOD_0 ( ) { final com . allanbank . mongodb . client . Message message = new com . allanbank . mongodb . client . message . METHOD_1 ( STRING_0 , com . allanbank . mongodb . client . message . METHOD_1 . IDENT_0 , com . allanbank . mongodb . bson . builder . IDENT_1 . start ( ) . build ( ) ) ; final org . easymock . IDENT_2 < java . beans . IDENT_3 > IDENT_4 = new org . easymock . IDENT_2 < java . beans . IDENT_3 > ( ) ; final com . allanbank . mongodb . client . connection . IDENT_5 IDENT_6 = METHOD_2 ( com . allanbank . mongodb . client . connection . IDENT_5 . class ) ; expect ( IDENT_7 . connect ( ) ) . andReturn ( IDENT_6 ) ; IDENT_6 . METHOD_3 ( METHOD_4 ( IDENT_4 ) ) ; METHOD_5 ( ) ; IDENT_6 . METHOD_6 ( message , null ) ; METHOD_5 ( ) ; replay ( IDENT_6 ) ; IDENT_8 . METHOD_6 ( message , null ) ; IDENT_4 . getValue ( ) . METHOD_7 ( new java . beans . METHOD_8 ( IDENT_6 , ( ( com . allanbank . mongodb . client . connection . IDENT_5 . IDENT_9 ) + STRING_1 ) , Boolean . IDENT_10 , Boolean . IDENT_11 ) ) ; IDENT_4 . getValue ( ) . METHOD_7 ( new java . beans . METHOD_8 ( IDENT_6 , com . allanbank . mongodb . client . connection . IDENT_5 . IDENT_9 , Boolean . IDENT_11 , Boolean . IDENT_10 ) ) ; IDENT_4 . getValue ( ) . METHOD_7 ( new java . beans . METHOD_8 ( IDENT_6 , com . allanbank . mongodb . client . connection . IDENT_5 . IDENT_9 , Boolean . IDENT_10 , java . lang . Integer . valueOf ( 1 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_6 ) ; } METHOD_9 ( ) { return IDENT_12 . size ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_8 . METHOD_9 ( ) )