METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . IDENT_2 . Builder builder = org . apache . IDENT_0 . IDENT_1 . IDENT_2 . builder ( ) ; builder . METHOD_1 ( org . apache . IDENT_0 . metadata . IDENT_3 . IDENT_4 . getType ( STRING_0 ) , org . apache . IDENT_0 . metadata . IDENT_3 . IDENT_4 . getType ( STRING_1 ) , org . apache . IDENT_0 . metadata . IDENT_3 . IDENT_4 . getType ( STRING_2 ) , org . apache . IDENT_0 . metadata . IDENT_3 . IDENT_4 . getType ( STRING_2 ) ) ; builder . METHOD_2 ( org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_3 ( 3 ) ) ; final org . apache . IDENT_0 . IDENT_1 . IDENT_2 IDENT_9 = org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_4 ( builder ) ; org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_10 IDENT_11 = org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_5 ( IDENT_9 , METHOD_6 ( ) ) ; org . apache . hadoop . hbase . IDENT_12 IDENT_13 = org . IDENT_14 . api . mockito . IDENT_15 . mock ( org . apache . hadoop . hbase . IDENT_6 . IDENT_16 . class ) ; org . IDENT_14 . api . mockito . IDENT_15 . when ( IDENT_13 , STRING_3 ) . thenReturn ( org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_17 ) ; final org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_18 service = new org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . METHOD_7 ( ) ; service . start ( IDENT_13 ) ; org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_19 . IDENT_20 . IDENT_21 request = org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_8 ( IDENT_9 , com . google . common . collect . Lists . newArrayList ( IDENT_11 ) ) ; com . google . IDENT_22 . IDENT_23 < org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_19 . IDENT_20 . IDENT_24 > IDENT_25 = new com . google . IDENT_22 . IDENT_23 < org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_19 . IDENT_20 . IDENT_24 > ( ) { @ org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . Override public void run ( org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_19 . IDENT_20 . IDENT_24 result ) { try { byte [ ] IDENT_26 = org . apache . IDENT_0 . common . util . IDENT_27 . METHOD_9 ( com . google . IDENT_22 . IDENT_28 . METHOD_10 ( result . METHOD_11 ( ) ) ) ; org . apache . IDENT_0 . storage . IDENT_29 . IDENT_30 iterator = new org . apache . IDENT_0 . storage . IDENT_29 . METHOD_12 ( IDENT_26 , IDENT_9 , org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_3 ( 2 , 3 ) ) ; java . util . Map < java . math . BigDecimal , java . math . BigDecimal > IDENT_31 = com . google . common . collect . IDENT_32 . METHOD_13 ( ) ; while ( iterator . hasNext ( ) ) { org . apache . IDENT_0 . IDENT_1 . IDENT_33 record = iterator . next ( ) ; java . math . BigDecimal key = ( ( java . math . BigDecimal ) ( record . METHOD_14 ( 3 ) ) ) ; java . math . BigDecimal value = ( ( java . math . BigDecimal ) ( record . METHOD_14 ( 2 ) ) ) ; IDENT_31 . put ( key , value ) ; } java . util . Map < java . math . BigDecimal , java . math . BigDecimal > IDENT_34 = com . google . common . collect . IDENT_32 . METHOD_13 ( ) ; for ( java . lang . String key : org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_35 . METHOD_15 ( ) ) { java . math . BigDecimal IDENT_36 ; if ( key . equals ( STRING_4 ) ) { IDENT_36 = new java . math . BigDecimal ( 1 ) ; } else { IDENT_36 = new java . math . BigDecimal ( 2 ) ; } java . math . BigDecimal value = IDENT_34 . get ( IDENT_36 ) ; if ( value == null ) { value = new java . math . BigDecimal ( 0 ) ; } value = value . add ( org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_35 . get ( key ) ) ; IDENT_34 . put ( IDENT_36 , value ) ; } "<AssertPlaceHolder>" ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_5 + e ) ) ; } } } ; service . METHOD_16 ( null , request , IDENT_25 ) ; } put ( java . lang . String , org . apache . IDENT_0 . storage . hbase . IDENT_5 . v2 . IDENT_37 ) { IDENT_38 . put ( key , IDENT_39 ) ; }
org . junit . Assert . assertEquals ( IDENT_34 , IDENT_31 )