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 . IDENT_6 . class ) , com . allanbank . mongodb . client . connection . IDENT_7 . cb ( ) ) ; METHOD_6 ( ) . METHOD_7 ( new com . allanbank . mongodb . METHOD_8 ( STRING_1 ) ) . times ( 2 ) ; IDENT_4 . METHOD_9 ( false ) ; METHOD_6 ( ) ; IDENT_4 . close ( ) ; METHOD_6 ( ) ; IDENT_4 . close ( ) ; METHOD_6 ( ) ; replay ( IDENT_2 , IDENT_4 ) ; IDENT_8 = new com . allanbank . mongodb . client . connection . IDENT_9 . METHOD_10 ( IDENT_2 , config ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 , IDENT_4 ) ; METHOD_11 ( IDENT_2 , IDENT_4 ) ; } close ( ) { MOD_0 ( IDENT_10 ) { IDENT_11 = true ; METHOD_12 ( ) ; } }
org . junit . Assert . assertNotNull ( IDENT_8 )