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 ) ) ) . METHOD_5 ( new java . io . IOException ( STRING_1 ) ) . times ( 2 ) ; replay ( IDENT_2 , IDENT_4 ) ; IDENT_6 = new com . allanbank . mongodb . client . connection . rs . METHOD_6 ( IDENT_2 , config ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 , IDENT_4 ) ; METHOD_7 ( IDENT_2 ) ; } connect ( com . allanbank . mongodb . client . state . IDENT_5 , com . allanbank . mongodb . METHOD_1 ) { final com . allanbank . mongodb . client . connection . IDENT_7 . IDENT_8 connection = new com . allanbank . mongodb . client . connection . IDENT_7 . METHOD_8 ( server , config , IDENT_9 . METHOD_9 ( server . METHOD_10 ( ) ) ) ; final com . allanbank . mongodb . client . transport . IDENT_10 < com . allanbank . mongodb . client . transport . IDENT_11 > transport = ( ( com . allanbank . mongodb . client . transport . IDENT_10 < com . allanbank . mongodb . client . transport . IDENT_11 > ) ( config . METHOD_11 ( ) . METHOD_12 ( server , config , IDENT_12 , IDENT_13 , connection ) ) ) ; connection . METHOD_13 ( transport ) ; connection . start ( ) ; return connection ; }
org . junit . Assert . assertNotNull ( IDENT_6 )