METHOD_0 ( ) { final com . allanbank . mongodb . bson . builder . IDENT_0 IDENT_1 = com . allanbank . mongodb . bson . builder . IDENT_2 . start ( ) ; IDENT_1 . METHOD_1 ( STRING_0 , STRING_1 ) ; final com . allanbank . mongodb . bson . builder . IDENT_0 IDENT_3 = com . allanbank . mongodb . bson . builder . IDENT_2 . start ( ) ; IDENT_3 . add ( STRING_2 , STRING_1 ) ; IDENT_3 . add ( STRING_3 , STRING_4 ) ; final com . allanbank . mongodb . bson . builder . IDENT_0 IDENT_4 = com . allanbank . mongodb . bson . builder . IDENT_2 . start ( ) ; IDENT_4 . add ( STRING_5 , 1 ) ; final com . allanbank . mongodb . IDENT_5 IDENT_6 = METHOD_2 ( com . allanbank . mongodb . IDENT_5 . class ) ; final com . allanbank . mongodb . IDENT_7 IDENT_8 = METHOD_2 ( com . allanbank . mongodb . IDENT_7 . class ) ; final com . allanbank . mongodb . IDENT_7 IDENT_9 = METHOD_2 ( com . allanbank . mongodb . IDENT_7 . class ) ; expect ( IDENT_8 . METHOD_3 ( METHOD_4 ( com . allanbank . mongodb . bson . IDENT_10 . class ) ) ) . andReturn ( IDENT_1 . build ( ) ) ; expect ( IDENT_6 . METHOD_5 ( ( STRING_4 + ( IDENT_11 . IDENT_12 ) ) ) ) . andReturn ( IDENT_8 ) ; expect ( IDENT_6 . METHOD_5 ( ( STRING_4 + ( IDENT_11 . IDENT_13 ) ) ) ) . andReturn ( IDENT_9 ) ; expect ( IDENT_6 . METHOD_6 ( IDENT_3 . build ( ) ) ) . andReturn ( IDENT_4 . build ( ) ) ; replay ( IDENT_6 , IDENT_8 , IDENT_9 ) ; final com . allanbank . mongodb . IDENT_14 . IDENT_11 fs = new com . allanbank . mongodb . IDENT_14 . METHOD_7 ( IDENT_6 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_6 , IDENT_8 , IDENT_9 ) ; } validate ( com . allanbank . mongodb . bson . element . IDENT_15 ) { final com . allanbank . mongodb . bson . Document IDENT_16 = IDENT_17 . METHOD_3 ( METHOD_8 ( com . allanbank . mongodb . IDENT_14 . METHOD_7 . IDENT_18 ) . equals ( id ) ) ; if ( IDENT_16 == null ) { throw new java . io . METHOD_9 ( id . toString ( ) ) ; } return METHOD_10 ( IDENT_16 ) ; }
org . junit . Assert . assertFalse ( fs . validate ( "foo" ) )