METHOD_0 ( ) { final com . allanbank . mongodb . client . connection . IDENT_0 IDENT_1 = METHOD_1 ( com . allanbank . mongodb . client . connection . IDENT_0 . class ) ; expect ( IDENT_1 . METHOD_2 ( ) ) . andReturn ( false ) ; IDENT_1 . close ( ) ; METHOD_3 ( ) ; replay ( IDENT_1 ) ; final com . allanbank . mongodb . client . connection . proxy . IDENT_2 . IDENT_3 conn = new com . allanbank . mongodb . client . connection . proxy . IDENT_2 . METHOD_4 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; com . allanbank . mongodb . util . IDENT_4 . close ( conn ) ; verify ( IDENT_1 ) ; } METHOD_2 ( ) { return IDENT_5 . get ( ) . METHOD_2 ( ) ; }
org . junit . Assert . assertEquals ( false , conn . METHOD_2 ( ) )