METHOD_0 ( ) { java . util . Date IDENT_0 = new java . util . Date ( ) ; java . lang . String IDENT_1 = org . opennms . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 ( IDENT_5 . IDENT_6 ) . METHOD_2 ( ) . METHOD_3 ( ) ; IDENT_1 = IDENT_1 + STRING_0 ; org . opennms . IDENT_7 . model . events . IDENT_8 IDENT_9 = new org . opennms . IDENT_7 . model . events . METHOD_4 ( org . opennms . IDENT_7 . events . api . IDENT_10 . IDENT_11 , STRING_1 ) ; IDENT_9 . METHOD_5 ( org . opennms . IDENT_2 . IDENT_3 . IDENT_12 ) ; IDENT_9 . METHOD_6 ( java . net . IDENT_13 . METHOD_7 ( org . opennms . IDENT_2 . IDENT_3 . IDENT_12 ) ) ; org . opennms . IDENT_7 . xml . event . IDENT_14 IDENT_15 = new org . opennms . IDENT_7 . xml . event . METHOD_8 ( ) ; IDENT_15 . METHOD_9 ( IDENT_9 . METHOD_10 ( ) ) ; java . lang . String IDENT_16 = org . opennms . core . xml . IDENT_17 . METHOD_11 ( IDENT_15 ) ; final java . util . Properties IDENT_18 = new java . util . Properties ( ) ; IDENT_18 . put ( IDENT_19 . IDENT_20 , IDENT_1 ) ; IDENT_18 . put ( IDENT_19 . IDENT_21 , org . apache . kafka . common . serialization . IDENT_22 . class . METHOD_12 ( ) ) ; IDENT_18 . put ( IDENT_19 . IDENT_23 , org . apache . kafka . common . serialization . IDENT_24 . class . METHOD_12 ( ) ) ; org . apache . kafka . IDENT_25 . IDENT_26 . IDENT_27 < java . lang . String , byte [ ] > IDENT_26 = new org . apache . kafka . IDENT_25 . IDENT_26 . METHOD_13 ( IDENT_18 ) ; final org . opennms . core . camel . IDENT_28 IDENT_29 = new org . opennms . core . camel . METHOD_14 ( STRING_2 , STRING_3 ) ; org . apache . kafka . IDENT_25 . IDENT_26 . IDENT_30 < java . lang . String , byte [ ] > IDENT_31 = new org . apache . kafka . IDENT_25 . IDENT_26 . IDENT_30 < java . lang . String , byte [ ] > ( IDENT_29 . getName ( ) , IDENT_16 . getBytes ( IDENT_32 . UTF_8 ) ) ; IDENT_26 . METHOD_15 ( IDENT_31 ) ; java . net . IDENT_33 IDENT_34 = org . opennms . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_16 ( IDENT_5 . IDENT_35 , INT_0 ) ; org . opennms . IDENT_2 . utils . IDENT_36 IDENT_37 = new org . opennms . IDENT_2 . utils . METHOD_17 ( IDENT_34 ) ; org . opennms . IDENT_7 . dao . api . IDENT_38 IDENT_39 = IDENT_37 . METHOD_18 ( org . opennms . IDENT_7 . dao . hibernate . IDENT_40 . class ) ; final org . opennms . IDENT_7 . model . IDENT_41 IDENT_42 = METHOD_19 ( ) . METHOD_20 ( 1 , org . opennms . IDENT_2 . IDENT_43 ) . METHOD_21 ( 5 , org . opennms . IDENT_2 . IDENT_44 ) . METHOD_22 ( org . opennms . IDENT_2 . utils . IDENT_45 . METHOD_23 ( IDENT_39 , new org . opennms . core . criteria . METHOD_24 ( org . opennms . IDENT_7 . model . IDENT_41 . class ) . eq ( STRING_4 , org . opennms . IDENT_2 . IDENT_3 . IDENT_12 ) . METHOD_25 ( STRING_5 , IDENT_0 ) . METHOD_26 ( ) ) , org . hamcrest . Matchers . METHOD_27 ( ) ) ; "<AssertPlaceHolder>" ; IDENT_26 . close ( ) ; } METHOD_26 ( ) { final org . opennms . core . criteria . IDENT_46 criteria = new org . opennms . core . criteria . METHOD_28 ( IDENT_47 , IDENT_48 ) ; criteria . METHOD_29 ( IDENT_49 . METHOD_30 ( ) ) ; criteria . METHOD_31 ( IDENT_50 . METHOD_32 ( ) ) ; criteria . METHOD_33 ( IDENT_51 ) ; criteria . METHOD_34 ( IDENT_52 ) ; criteria . METHOD_35 ( IDENT_53 ) ; criteria . METHOD_36 ( IDENT_54 ) ; if ( STRING_6 . equals ( IDENT_55 ) ) { criteria . METHOD_37 ( java . util . Collections . METHOD_38 ( org . opennms . core . criteria . IDENT_56 . IDENT_57 . any ( IDENT_58 . toArray ( org . opennms . core . criteria . METHOD_24 . IDENT_59 ) ) ) ) ; } else { criteria . METHOD_37 ( IDENT_58 ) ; } return criteria ; }
org . junit . Assert . assertNotNull ( IDENT_42 )