METHOD_0 ( ) { com . couchbase . client . java . util . IDENT_0 < java . lang . String , com . couchbase . client . java . query . IDENT_1 > cache = new com . couchbase . client . java . util . IDENT_0 < java . lang . String , com . couchbase . client . java . query . IDENT_1 > ( 3 ) ; com . couchbase . client . core . IDENT_2 IDENT_3 = mock ( com . couchbase . client . core . IDENT_2 . class ) ; com . couchbase . client . java . query . core . IDENT_4 executor = METHOD_1 ( new com . couchbase . client . java . query . core . METHOD_2 ( IDENT_3 , STRING_0 , "" , "" , cache , true ) ) ; com . couchbase . client . java . query . IDENT_5 IDENT_6 = com . couchbase . client . java . query . IDENT_7 . select ( STRING_1 ) ; com . couchbase . client . java . query . IDENT_8 q = com . couchbase . client . java . query . IDENT_8 . simple ( IDENT_6 , com . couchbase . client . java . query . IDENT_9 . build ( ) . METHOD_3 ( false ) ) ; com . couchbase . client . java . query . IDENT_1 IDENT_10 = new com . couchbase . client . java . query . METHOD_4 ( IDENT_6 , STRING_2 , STRING_3 ) ; com . couchbase . client . java . query . METHOD_4 IDENT_11 = new com . couchbase . client . java . query . METHOD_4 ( IDENT_6 , STRING_4 , STRING_3 ) ; cache . put ( IDENT_6 . toString ( ) , IDENT_11 ) ; doReturn ( IDENT_12 . IDENT_13 . empty ( ) ) . when ( executor ) . METHOD_5 ( any ( com . couchbase . client . java . query . IDENT_8 . class ) , eq ( com . couchbase . client . java . query . core . IDENT_14 . IDENT_15 ) , any ( com . couchbase . client . java . query . core . Integer . class ) , any ( java . util . concurrent . TimeUnit . class ) ) ; doReturn ( IDENT_12 . IDENT_13 . METHOD_6 ( IDENT_10 ) ) . when ( executor ) . METHOD_7 ( any ( com . couchbase . client . java . query . IDENT_5 . class ) ) ; doReturn ( IDENT_12 . IDENT_13 . < com . couchbase . client . java . query . IDENT_16 > empty ( ) ) . when ( executor ) . METHOD_8 ( any ( com . couchbase . client . java . query . IDENT_8 . class ) , any ( com . couchbase . client . java . query . METHOD_4 . class ) , eq ( com . couchbase . client . java . query . core . IDENT_14 . IDENT_15 ) , any ( com . couchbase . client . java . query . core . Integer . class ) , any ( java . util . concurrent . TimeUnit . class ) ) ; executor . execute ( q , com . couchbase . client . java . query . core . IDENT_14 . IDENT_15 , 1 , TimeUnit . IDENT_17 ) . METHOD_9 ( ) . METHOD_10 ( null ) ; verify ( executor ) . METHOD_11 ( any ( com . couchbase . client . java . query . IDENT_8 . class ) , eq ( com . couchbase . client . java . query . core . IDENT_14 . IDENT_15 ) , any ( com . couchbase . client . java . query . core . Integer . class ) , any ( java . util . concurrent . TimeUnit . class ) ) ; verify ( executor , METHOD_12 ( ) ) . METHOD_7 ( any ( com . couchbase . client . java . query . IDENT_5 . class ) ) ; verify ( executor ) . METHOD_8 ( q , IDENT_11 , com . couchbase . client . java . query . core . IDENT_14 . IDENT_15 , 1 , TimeUnit . IDENT_17 ) ; verify ( executor , METHOD_12 ( ) ) . METHOD_8 ( q , IDENT_10 , com . couchbase . client . java . query . core . IDENT_14 . IDENT_15 , 1 , TimeUnit . IDENT_17 ) ; verify ( executor , METHOD_12 ( ) ) . METHOD_13 ( any ( com . couchbase . client . java . query . IDENT_8 . class ) , eq ( com . couchbase . client . java . query . core . IDENT_14 . IDENT_15 ) , any ( com . couchbase . client . java . query . core . Integer . class ) , any ( java . util . concurrent . TimeUnit . class ) ) ; verify ( executor , METHOD_12 ( ) ) . METHOD_14 ( any ( com . couchbase . client . java . error . IDENT_18 . class ) , any ( com . couchbase . client . java . query . IDENT_8 . class ) , eq ( com . couchbase . client . java . query . core . IDENT_14 . IDENT_15 ) , any ( com . couchbase . client . java . query . core . Integer . class ) , any ( java . util . concurrent . TimeUnit . class ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return IDENT_19 . size ( ) ; }
org . junit . Assert . assertEquals ( 1 , cache . size ( ) )