METHOD_0 ( ) { IDENT_0 = new com . IDENT_1 . IDENT_2 . grid . METHOD_1 ( STRING_0 , new com . IDENT_1 . IDENT_2 . grid . IDENT_3 < com . IDENT_1 . IDENT_2 . model . messages . IDENT_4 > ( ) { @ com . IDENT_1 . IDENT_2 . grid . Override public void METHOD_2 ( com . IDENT_1 . IDENT_2 . model . messages . IDENT_4 message ) { System . out . println ( ( STRING_1 + ( message . METHOD_3 ( ) ) ) ) ; try { com . IDENT_1 . IDENT_2 . services . IDENT_5 . getInstance ( ) . METHOD_4 ( message . METHOD_5 ( ) , message . METHOD_3 ( ) , message . METHOD_6 ( ) ) ; } catch ( com . IDENT_1 . IDENT_2 . grid . IOException ex ) { java . util . logging . IDENT_6 . METHOD_7 ( com . IDENT_1 . IDENT_2 . grid . IDENT_7 . class . getName ( ) ) . log ( IDENT_8 . IDENT_9 , null , ex ) ; } } } ) ; IDENT_0 . start ( ) ; com . IDENT_1 . IDENT_2 . grid . IDENT_10 IDENT_11 = com . IDENT_1 . IDENT_2 . grid . IDENT_12 . METHOD_8 ( ) ; com . IDENT_1 . IDENT_2 . grid . IDENT_13 IDENT_14 = new com . IDENT_1 . IDENT_2 . grid . METHOD_9 ( 1 , 2 , new com . IDENT_1 . IDENT_2 . grid . Date ( ) ) ; IDENT_11 . METHOD_10 ( IDENT_14 ) ; IDENT_11 . METHOD_11 ( ) ; com . IDENT_1 . IDENT_2 . grid . METHOD_9 call = ( ( com . IDENT_1 . IDENT_2 . grid . METHOD_9 ) ( consumer . METHOD_12 ( ) ) ) ; "<AssertPlaceHolder>" ; com . IDENT_1 . IDENT_2 . services . IDENT_15 . getInstance ( ) . METHOD_13 ( call ) ; java . lang . Thread . sleep ( INT_0 ) ; METHOD_14 ( ) ; java . lang . Thread . sleep ( INT_1 ) ; METHOD_15 ( ) ; java . lang . Thread . sleep ( INT_2 ) ; METHOD_16 ( ) ; java . lang . Thread . sleep ( INT_3 ) ; com . IDENT_1 . IDENT_2 . model . events . IDENT_16 IDENT_17 = new com . IDENT_1 . IDENT_2 . model . events . METHOD_17 ( null , new com . IDENT_1 . IDENT_2 . grid . ArrayList < java . lang . String > ( ) ) ; com . IDENT_1 . IDENT_2 . services . IDENT_15 . getInstance ( ) . METHOD_18 ( IDENT_17 ) ; java . lang . Thread . sleep ( INT_4 ) ; } METHOD_12 ( ) { java . io . IDENT_18 IDENT_19 = null ; try { org . IDENT_20 . api . core . client . IDENT_21 IDENT_22 = consumer . METHOD_19 ( ) ; int length = IDENT_22 . METHOD_20 ( ) . METHOD_21 ( ) ; byte [ ] data = new byte [ length ] ; IDENT_22 . METHOD_20 ( ) . METHOD_22 ( data ) ; IDENT_19 = new org . IDENT_20 . utils . METHOD_23 ( new java . io . ByteArrayInputStream ( data ) ) ; return IDENT_19 . METHOD_24 ( ) ; } catch ( java . lang . IDENT_23 ex ) { java . util . logging . IDENT_6 . METHOD_7 ( com . IDENT_1 . IDENT_2 . IDENT_24 . IDENT_25 . class . getName ( ) ) . log ( IDENT_8 . IDENT_9 , null , ex ) ; throw new java . lang . IllegalStateException ( ( STRING_2 + ( ex . getMessage ( ) ) ) ) ; } catch ( java . io . IOException ex ) { java . util . logging . IDENT_6 . METHOD_7 ( com . IDENT_1 . IDENT_2 . IDENT_24 . IDENT_25 . class . getName ( ) ) . log ( IDENT_8 . IDENT_9 , null , ex ) ; throw new java . lang . IllegalStateException ( ( STRING_2 + ( ex . getMessage ( ) ) ) ) ; } finally { try { if ( IDENT_19 != null ) { IDENT_19 . close ( ) ; } } catch ( java . io . IOException ex ) { java . util . logging . IDENT_6 . METHOD_7 ( com . IDENT_1 . IDENT_2 . IDENT_24 . IDENT_25 . class . getName ( ) ) . log ( IDENT_8 . IDENT_9 , null , ex ) ; } } }
org . junit . Assert . assertNotNull ( call )