METHOD_0 ( ) { final com . allanbank . mongodb . IDENT_0 config = new com . allanbank . mongodb . METHOD_1 ( ) ; config . METHOD_2 ( STRING_0 ) ; final com . allanbank . mongodb . client . connection . proxy . IDENT_1 IDENT_2 = METHOD_3 ( com . allanbank . mongodb . client . connection . proxy . IDENT_1 . class ) ; final com . allanbank . mongodb . client . connection . IDENT_3 IDENT_4 = METHOD_3 ( com . allanbank . mongodb . client . connection . IDENT_3 . class ) ; expect ( IDENT_2 . connect ( METHOD_4 ( com . allanbank . mongodb . client . state . IDENT_5 . class ) , eq ( config ) ) ) . andReturn ( IDENT_4 ) . times ( 2 ) ; IDENT_4 . METHOD_5 ( METHOD_4 ( com . allanbank . mongodb . client . message . Query . class ) , com . allanbank . mongodb . client . connection . IDENT_6 . cb ( ) ) ; METHOD_6 ( ) . METHOD_7 ( new org . easymock . IDENT_7 < java . lang . String > ( ) { @ com . allanbank . mongodb . client . connection . IDENT_8 . Override public java . lang . String METHOD_8 ( ) throws java . lang . Throwable { java . lang . Thread . METHOD_9 ( ) . METHOD_10 ( ) ; return null ; } } ) ; IDENT_4 . METHOD_5 ( METHOD_4 ( com . allanbank . mongodb . client . message . IDENT_9 . class ) , com . allanbank . mongodb . client . connection . IDENT_6 . cb ( ) ) ; METHOD_6 ( ) ; IDENT_4 . METHOD_11 ( false ) ; METHOD_6 ( ) ; IDENT_4 . close ( ) ; METHOD_6 ( ) ; IDENT_4 . close ( ) ; METHOD_6 ( ) ; replay ( IDENT_2 , IDENT_4 ) ; IDENT_10 = new com . allanbank . mongodb . client . connection . IDENT_8 . METHOD_12 ( IDENT_2 , config ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 , IDENT_4 ) ; METHOD_13 ( IDENT_2 , IDENT_4 ) ; } close ( ) { MOD_0 ( IDENT_11 ) { IDENT_12 = true ; METHOD_14 ( ) ; } }
org . junit . Assert . assertNotNull ( IDENT_10 )