METHOD_0 ( ) { java . math . BigDecimal input = null ; java . nio . ByteBuffer buffer = java . nio . ByteBuffer . METHOD_1 ( INT_0 ) ; buffer . METHOD_2 ( ) ; org . apache . IDENT_0 . metadata . IDENT_1 . IDENT_2 . IDENT_3 . serialize ( input , buffer ) ; buffer . METHOD_3 ( ) ; java . math . BigDecimal output = org . apache . IDENT_0 . metadata . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_4 ( buffer ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . nio . ByteBuffer ) { int IDENT_4 = org . apache . IDENT_0 . common . util . IDENT_5 . METHOD_5 ( in ) ; int n = org . apache . IDENT_0 . common . util . IDENT_5 . METHOD_5 ( in ) ; if ( n < 0 ) { return null ; } byte [ ] bytes = new byte [ n ] ; in . get ( bytes ) ; return new java . math . BigDecimal ( new java . math . BigInteger ( bytes ) , IDENT_4 ) ; }
org . junit . Assert . assertEquals ( input , output )