METHOD_0 ( ) { final org . apache . nifi . couchbase . IDENT_0 client = new org . apache . nifi . couchbase . METHOD_1 ( ) ; final org . apache . nifi . couchbase . IDENT_1 IDENT_2 = mock ( org . apache . nifi . couchbase . IDENT_1 . class ) ; final com . couchbase . client . java . IDENT_3 IDENT_4 = mock ( com . couchbase . client . java . IDENT_3 . class ) ; final org . apache . nifi . util . IDENT_5 IDENT_6 = new org . apache . nifi . util . METHOD_2 ( IDENT_2 , STRING_0 ) ; final java . util . Map < org . apache . nifi . components . IDENT_7 , java . lang . String > properties = new java . util . HashMap ( ) ; properties . put ( org . apache . nifi . couchbase . IDENT_8 . IDENT_9 , STRING_0 ) ; properties . put ( org . apache . nifi . couchbase . IDENT_8 . IDENT_10 , STRING_1 ) ; final com . couchbase . client . IDENT_11 . io . netty . buffer . IDENT_12 IDENT_13 = com . couchbase . client . IDENT_11 . io . netty . buffer . IDENT_14 . METHOD_3 ( "value" . getBytes ( IDENT_15 . UTF_8 ) ) ; final com . couchbase . client . java . document . IDENT_16 doc = com . couchbase . client . java . document . IDENT_16 . create ( STRING_2 , IDENT_13 ) ; when ( IDENT_2 . METHOD_4 ( eq ( STRING_1 ) ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_4 . get ( any ( com . couchbase . client . java . document . IDENT_16 . class ) ) ) . thenReturn ( doc ) ; final org . apache . nifi . util . IDENT_17 context = new org . apache . nifi . util . METHOD_5 ( properties , IDENT_6 ) ; client . METHOD_6 ( context ) ; final java . lang . String IDENT_18 = client . get ( STRING_2 , IDENT_19 , IDENT_20 ) ; "<AssertPlaceHolder>" ; } get ( IDENT_21 , org . apache . nifi . IDENT_22 . cache . client . IDENT_23 , org . apache . nifi . IDENT_22 . cache . client . IDENT_24 ) { return METHOD_7 ( new org . apache . nifi . IDENT_22 . cache . client . IDENT_25 . IDENT_26 < IDENT_27 > ( ) { @ org . apache . nifi . IDENT_22 . cache . client . Override public IDENT_27 execute ( final org . apache . nifi . IDENT_22 . cache . client . IDENT_28 session ) throws java . io . IOException { final java . io . IDENT_29 IDENT_30 = new java . io . METHOD_8 ( session . METHOD_9 ( ) ) ; IDENT_30 . METHOD_10 ( STRING_3 ) ; serialize ( key , IDENT_31 , IDENT_30 ) ; IDENT_30 . METHOD_11 ( ) ; final java . io . IDENT_32 IDENT_33 = new java . io . METHOD_12 ( session . METHOD_13 ( ) ) ; final byte [ ] IDENT_34 = METHOD_14 ( IDENT_33 ) ; return IDENT_35 . METHOD_15 ( IDENT_34 ) ; } } ) ; }
org . junit . Assert . assertEquals ( "value" , IDENT_18 )