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 java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; final com . allanbank . mongodb . bson . io . IDENT_5 IDENT_6 = new com . allanbank . mongodb . bson . io . METHOD_2 ( out ) ; IDENT_6 . METHOD_3 ( IDENT_0 ) ; final java . io . ByteArrayInputStream in = new java . io . ByteArrayInputStream ( out . toByteArray ( ) ) ; final com . allanbank . mongodb . bson . io . IDENT_7 reader = new com . allanbank . mongodb . bson . io . METHOD_4 ( in ) ; "<AssertPlaceHolder>" ; reader . close ( ) ; } METHOD_5 ( ) { return ( METHOD_6 ( ) ) + ( IDENT_8 . METHOD_5 ( ) ) ; }
org . junit . Assert . assertEquals ( out . toByteArray ( ) . length , reader . METHOD_5 ( ) )