METHOD_0 ( ) { final org . eclipse . IDENT_0 . model . IDENT_1 IDENT_2 = org . eclipse . IDENT_0 . model . impl . IDENT_3 . getInstance ( ) ; final org . eclipse . IDENT_0 . query . impl . IDENT_4 IDENT_5 = new org . eclipse . IDENT_0 . query . impl . METHOD_1 ( ) ; IDENT_5 . METHOD_2 ( "name" , IDENT_2 . METHOD_3 ( STRING_0 ) ) ; IDENT_5 . METHOD_2 ( STRING_1 , IDENT_2 . METHOD_3 ( INT_0 ) ) ; final org . apache . rya . api . model . IDENT_6 original = new org . apache . rya . api . model . METHOD_4 ( IDENT_5 , STRING_2 ) ; try ( final org . apache . kafka . common . serialization . IDENT_7 < org . apache . rya . api . model . METHOD_4 > IDENT_8 = new org . apache . rya . streams . kafka . serialization . METHOD_5 ( ) ) { final byte [ ] bytes = IDENT_8 . serializer ( ) . serialize ( STRING_3 , original ) ; final org . apache . rya . api . model . METHOD_4 IDENT_9 = IDENT_8 . METHOD_6 ( ) . METHOD_7 ( STRING_3 , bytes ) ; "<AssertPlaceHolder>" ; } } METHOD_7 ( org . apache . rya . api . IDENT_10 . IDENT_11 , org . apache . rya . api . resolver . IDENT_12 . IDENT_13 ) { try { assert ( IDENT_14 != null ) && ( IDENT_15 != null ) ; final byte [ ] row = IDENT_14 . METHOD_8 ( ) ; final int IDENT_16 = com . google . common . IDENT_17 . IDENT_18 . indexOf ( row , org . apache . rya . api . IDENT_10 . IDENT_19 ) ; final int IDENT_20 = com . google . common . IDENT_17 . IDENT_18 . METHOD_9 ( row , org . apache . rya . api . IDENT_10 . IDENT_19 ) ; final int IDENT_21 = com . google . common . IDENT_17 . IDENT_18 . indexOf ( row , org . apache . rya . api . IDENT_10 . IDENT_22 ) ; final byte [ ] first = java . util . Arrays . METHOD_10 ( row , IDENT_16 ) ; final byte [ ] IDENT_23 = java . util . Arrays . METHOD_11 ( row , ( IDENT_16 + 1 ) , IDENT_20 ) ; final byte [ ] IDENT_24 = java . util . Arrays . METHOD_11 ( row , ( IDENT_20 + 1 ) , IDENT_21 ) ; final byte [ ] type = java . util . Arrays . METHOD_11 ( row , IDENT_21 , row . length ) ; final byte [ ] IDENT_25 = IDENT_14 . METHOD_12 ( ) ; final boolean IDENT_26 = ( IDENT_25 != null ) && ( ( IDENT_25 . length ) > 0 ) ; final org . apache . rya . api . domain . IDENT_27 context = ( IDENT_26 ) ? new org . apache . rya . api . domain . METHOD_13 ( new java . lang . String ( IDENT_25 , java . nio . IDENT_28 . IDENT_29 . UTF_8 ) ) : null ; final byte [ ] IDENT_30 = IDENT_14 . METHOD_14 ( ) ; final java . lang . String IDENT_31 = ( ( IDENT_30 != null ) && ( ( IDENT_30 . length ) > 0 ) ) ? new java . lang . String ( IDENT_30 , java . nio . IDENT_28 . IDENT_29 . UTF_8 ) : null ; final java . lang . Long IDENT_32 = IDENT_14 . METHOD_15 ( ) ; final byte [ ] IDENT_33 = IDENT_14 . METHOD_16 ( ) ; final byte [ ] value = IDENT_14 . getValue ( ) ; switch ( IDENT_15 ) { case IDENT_34 : { final byte [ ] obj = com . google . common . IDENT_17 . IDENT_18 . METHOD_17 ( IDENT_24 , type ) ; return new org . apache . rya . api . domain . METHOD_18 ( new org . apache . rya . api . domain . METHOD_13 ( new java . lang . String ( first , java . nio . IDENT_28 . IDENT_29 . UTF_8 ) ) , new org . apache . rya . api . domain . METHOD_13 ( new java . lang . String ( IDENT_23 , java . nio . IDENT_28 . IDENT_29 . UTF_8 ) ) , org . apache . rya . api . resolver . IDENT_35 . getInstance ( ) . METHOD_7 ( obj ) , context , IDENT_31 , IDENT_33 , value , IDENT_32 ) ; } case IDENT_36 : { final byte [ ] obj = com . google . common . IDENT_17 . IDENT_18 . METHOD_17 ( IDENT_23 , type ) ; return new org . apache . rya . api . domain . METHOD_18 ( new org . apache . rya . api . domain . METHOD_13 ( new java . lang . String ( IDENT_24 , java . nio . IDENT_28 . IDENT_29 . UTF_8 ) ) , new org . apache . rya . api . domain . METHOD_13 ( new java . lang . String ( first , java . nio . IDENT_28 . IDENT_29 . UTF_8 ) ) , org . apache . rya . api . resolver . IDENT_35 . getInstance ( ) . METHOD_7 ( obj ) , context , IDENT_31 , IDENT_33 , value , IDENT_32 ) ; } case IDENT_37 : { final byte [ ] obj = com . google . common . IDENT_17 . IDENT_18 . METHOD_17 ( first , type ) ; return new org . apache . rya . api . domain . METHOD_18 ( new org . apache . rya . api . domain . METHOD_13 ( new java . lang . String ( IDENT_23 , java . nio . IDENT_28 . IDENT_29 . UTF_8 ) ) , new org . apache . rya . api . domain . METHOD_13 ( new java . lang . String ( IDENT_24 , java . nio . IDENT_28 . IDENT_29 . UTF_8 ) ) , org . apache . rya . api . resolver . IDENT_35 . getInstance ( ) . METHOD_7 ( obj ) , context , IDENT_31 , IDENT_33 , value , IDENT_32 ) ; } } } catch ( final org . apache . rya . api . resolver . IDENT_38 e ) { throw new org . apache . rya . api . resolver . IDENT_12 . METHOD_19 ( e ) ; } throw new org . apache . rya . api . resolver . IDENT_12 . METHOD_19 ( ( ( ( ( STRING_4 + IDENT_14 ) + STRING_5 ) + IDENT_15 ) + STRING_6 ) ) ; }
org . junit . Assert . assertEquals ( original , IDENT_9 )