METHOD_0 ( ) { final com . allanbank . mongodb . bson . Document IDENT_0 = com . allanbank . mongodb . bson . builder . IDENT_1 . start ( ) . METHOD_1 ( STRING_0 , ( ( byte ) ( 3 ) ) , com . allanbank . mongodb . bson . io . IDENT_2 . IDENT_3 ) . METHOD_1 ( STRING_1 , ( ( byte ) ( 4 ) ) , com . allanbank . mongodb . bson . io . IDENT_2 . IDENT_4 ) . build ( ) ; final com . allanbank . mongodb . bson . Document expected = new com . allanbank . mongodb . bson . impl . METHOD_2 ( new com . allanbank . mongodb . bson . element . METHOD_3 ( STRING_0 , ( ( byte ) ( 3 ) ) , com . allanbank . mongodb . bson . io . IDENT_2 . IDENT_5 ) , new com . allanbank . mongodb . bson . element . METHOD_3 ( STRING_1 , ( ( byte ) ( 4 ) ) , com . allanbank . mongodb . bson . io . IDENT_2 . IDENT_5 ) ) ; final java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; final com . allanbank . mongodb . bson . io . IDENT_6 IDENT_7 = new com . allanbank . mongodb . bson . io . METHOD_4 ( out ) ; IDENT_7 . METHOD_5 ( IDENT_0 ) ; final java . io . ByteArrayInputStream in = new java . io . ByteArrayInputStream ( out . toByteArray ( ) ) ; final com . allanbank . mongodb . bson . io . IDENT_8 reader = new com . allanbank . mongodb . bson . io . METHOD_6 ( in ) ; final com . allanbank . mongodb . bson . Document doc = reader . METHOD_7 ( ) ; reader . close ( ) ; "<AssertPlaceHolder>" ; } close ( ) { MOD_0 ( IDENT_9 ) { IDENT_10 = true ; METHOD_8 ( ) ; } }
org . junit . Assert . assertEquals ( expected , doc )