METHOD_0 ( ) { byte [ ] IDENT_0 = STRING_0 . getBytes ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . springframework . data . redis . connection . IDENT_1 . IDENT_2 . IDENT_3 , byte [ ] ) { if ( ( IDENT_4 == null ) || ( ( IDENT_4 . getValue ( ) ) == null ) ) { return IDENT_0 ; } byte [ ] IDENT_5 = ( IDENT_4 . METHOD_2 ( ) ) ? org . springframework . data . redis . connection . IDENT_6 . IDENT_7 . METHOD_3 ( STRING_1 ) : org . springframework . data . redis . connection . IDENT_6 . IDENT_7 . METHOD_3 ( STRING_2 ) ; byte [ ] value = null ; if ( ( IDENT_4 . getValue ( ) ) instanceof byte [ ] ) { value = ( ( byte [ ] ) ( IDENT_4 . getValue ( ) ) ) ; } else if ( ( IDENT_4 . getValue ( ) ) instanceof java . lang . Long ) { value = org . springframework . data . redis . connection . IDENT_6 . IDENT_7 . METHOD_3 ( ( ( java . lang . Long ) ( IDENT_4 . getValue ( ) ) ) ) ; } else if ( ( IDENT_4 . getValue ( ) ) instanceof java . lang . Integer ) { value = org . springframework . data . redis . connection . IDENT_6 . IDENT_7 . METHOD_3 ( ( ( java . lang . Integer ) ( IDENT_4 . getValue ( ) ) ) ) ; } else if ( ( IDENT_4 . getValue ( ) ) instanceof java . lang . String ) { value = org . springframework . data . redis . connection . IDENT_6 . IDENT_7 . METHOD_3 ( ( ( java . lang . String ) ( IDENT_4 . getValue ( ) ) ) ) ; } else { throw new java . lang . IllegalArgumentException ( java . lang . String . format ( STRING_3 , IDENT_4 . getValue ( ) ) ) ; } java . nio . ByteBuffer buffer = java . nio . ByteBuffer . METHOD_4 ( ( ( IDENT_5 . length ) + ( value . length ) ) ) ; buffer . put ( IDENT_5 ) ; buffer . put ( value ) ; return buffer . array ( ) ; }
org . junit . Assert . assertThat ( org . springframework . data . redis . connection . IDENT_6 . IDENT_7 . METHOD_1 ( null , IDENT_0 ) , org . hamcrest . core . Is . is ( IDENT_0 ) )