METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 IDENT_2 = new com . IDENT_0 . IDENT_1 . Builder ( ) . build ( ) ; IDENT_2 . METHOD_1 ( ) ; final com . IDENT_0 . IDENT_3 db = IDENT_2 . db ( ) ; final java . util . Collection < java . lang . String > result = new java . util . concurrent . IDENT_4 < java . lang . String > ( ) ; final java . lang . Thread IDENT_5 = new java . lang . Thread ( ) { @ com . IDENT_0 . internal . IDENT_6 . Override public void run ( ) { try { db . query ( STRING_0 , null , null , null ) ; result . add ( "1" ) ; } catch ( final com . IDENT_0 . IDENT_7 e ) { e . printStackTrace ( System . err ) ; } } } ; final java . lang . Thread IDENT_8 = new java . lang . Thread ( ) { @ com . IDENT_0 . internal . IDENT_6 . Override public void run ( ) { try { db . query ( STRING_0 , null , null , null ) ; result . add ( "1" ) ; } catch ( final com . IDENT_0 . IDENT_7 e ) { e . printStackTrace ( System . err ) ; } } } ; IDENT_8 . start ( ) ; IDENT_5 . start ( ) ; IDENT_8 . join ( ) ; IDENT_5 . join ( ) ; "<AssertPlaceHolder>" ; } query ( java . lang . String , java . util . Map , com . IDENT_0 . model . IDENT_9 , java . lang . Class ) { final com . IDENT_0 . IDENT_6 . IDENT_10 request = METHOD_2 ( query , IDENT_11 , options ) ; final com . IDENT_0 . internal . net . IDENT_12 IDENT_13 = new com . IDENT_0 . internal . net . METHOD_3 ( ) ; final com . IDENT_0 . entity . IDENT_14 result = executor . execute ( request , com . IDENT_0 . entity . IDENT_14 . class , IDENT_13 ) ; return METHOD_4 ( result , type , options , IDENT_13 ) ; }
org . junit . Assert . assertThat ( result . size ( ) , org . hamcrest . Matchers . is ( 2 ) )