METHOD_0 ( ) { final com . allanbank . mongodb . IDENT_0 IDENT_1 = new com . allanbank . mongodb . METHOD_1 ( ) ; final com . allanbank . mongodb . client . connection . IDENT_2 IDENT_3 = METHOD_2 ( com . allanbank . mongodb . client . connection . IDENT_2 . class ) ; expect ( IDENT_3 . METHOD_3 ( ) ) . METHOD_4 ( IDENT_1 ) ; IDENT_3 . close ( ) ; METHOD_5 ( ) . times ( 2 ) ; replay ( IDENT_3 ) ; final com . allanbank . mongodb . client . connection . proxy . IDENT_4 . IDENT_5 conn = new com . allanbank . mongodb . client . connection . proxy . IDENT_4 . METHOD_6 ( IDENT_3 ) ; try { conn . METHOD_3 ( ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( final com . allanbank . mongodb . METHOD_1 IDENT_6 ) { "<AssertPlaceHolder>" ; } com . allanbank . mongodb . util . IDENT_7 . close ( conn ) ; verify ( IDENT_3 ) ; } fail ( java . lang . String ) { org . junit . Assert . fail ( message ) ; }
org . junit . Assert . assertSame ( IDENT_1 , IDENT_6 )