METHOD_0 ( ) { final com . allanbank . mongodb . bson . builder . IDENT_0 b = com . allanbank . mongodb . bson . builder . IDENT_1 . start ( ) ; b . add ( IDENT_2 . IDENT_3 , STRING_0 ) ; b . add ( IDENT_2 . IDENT_4 , INT_0 ) ; b . add ( IDENT_2 . IDENT_5 , STRING_1 ) ; b . add ( IDENT_2 . IDENT_6 , INT_1 ) ; b . add ( IDENT_2 . IDENT_7 , INT_2 ) ; final com . allanbank . mongodb . client . IDENT_8 IDENT_9 = METHOD_1 ( com . allanbank . mongodb . client . IDENT_8 . class ) ; replay ( ) ; final com . allanbank . mongodb . client . IDENT_10 IDENT_11 = new com . allanbank . mongodb . client . METHOD_2 ( b . build ( ) , IDENT_9 ) ; "<AssertPlaceHolder>" ; IDENT_11 . close ( ) ; verify ( ) ; } METHOD_3 ( ) { final long IDENT_12 = IDENT_13 ; if ( IDENT_12 != 0 ) { final com . allanbank . mongodb . bson . builder . IDENT_0 b = com . allanbank . mongodb . bson . builder . IDENT_1 . start ( ) ; b . add ( com . allanbank . mongodb . client . IDENT_14 . IDENT_3 , ( ( ( IDENT_15 ) + STRING_2 ) + ( IDENT_16 ) ) ) ; b . add ( com . allanbank . mongodb . client . IDENT_14 . IDENT_4 , IDENT_12 ) ; b . add ( com . allanbank . mongodb . client . IDENT_14 . IDENT_5 , IDENT_17 ) ; b . add ( com . allanbank . mongodb . client . IDENT_14 . IDENT_6 , IDENT_18 ) ; b . add ( com . allanbank . mongodb . client . IDENT_14 . IDENT_7 , IDENT_19 ) ; return b . build ( ) ; } return null ; }
org . junit . Assert . assertThat ( IDENT_11 . METHOD_3 ( ) , org . hamcrest . CoreMatchers . is ( b . build ( ) ) )