METHOD_0 ( ) { IDENT_0 . METHOD_1 ( new org . IDENT_1 . METHOD_2 ( ) { { METHOD_3 ( IDENT_2 ) . METHOD_4 ( with ( any ( java . lang . String . class ) ) ) ; } } ) ; java . nio . file . Path path = METHOD_5 ( ) ; org . apache . solr . core . IDENT_3 loader = new org . apache . solr . core . METHOD_6 ( path ) ; org . apache . solr . core . IDENT_4 config = new org . apache . solr . core . IDENT_4 . METHOD_7 ( STRING_0 , loader ) . METHOD_8 ( java . nio . file . IDENT_5 . get ( org . IDENT_6 . IDENT_7 . service . IDENT_8 . METHOD_9 ( ) ) . resolve ( STRING_1 ) . toString ( ) ) . build ( ) ; try ( org . apache . solr . client . IDENT_9 . IDENT_10 . IDENT_11 server = new org . apache . solr . client . IDENT_9 . IDENT_10 . METHOD_10 ( config , STRING_2 ) ) { org . apache . solr . client . IDENT_9 . request . IDENT_12 . IDENT_13 IDENT_14 = new org . apache . solr . client . IDENT_9 . request . IDENT_12 . METHOD_11 ( ) ; IDENT_14 . METHOD_12 ( STRING_2 ) ; IDENT_14 . METHOD_13 ( STRING_3 ) ; server . request ( IDENT_14 ) ; java . util . HashMap < java . lang . String , java . lang . Object > fields = new java . util . HashMap ( ) ; fields . put ( STRING_0 0 , new java . lang . Integer ( 1 ) ) ; org . apache . solr . client . IDENT_9 . request . schema . IDENT_15 . IDENT_16 IDENT_17 = new org . apache . solr . client . IDENT_9 . request . schema . IDENT_15 . METHOD_14 ( fields ) ; server . request ( IDENT_17 ) ; org . IDENT_6 . IDENT_7 . dao . IDENT_18 IDENT_19 = new org . IDENT_6 . IDENT_7 . dao . METHOD_15 ( ) ; IDENT_19 . METHOD_16 ( server ) ; IDENT_19 . METHOD_17 ( 0 ) ; org . IDENT_6 . IDENT_7 . model . IDENT_20 event = new org . IDENT_6 . IDENT_7 . model . METHOD_18 ( 1L , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_9 ) ; IDENT_19 . save ( event ) ; event = new org . IDENT_6 . IDENT_7 . model . METHOD_18 ( INT_0 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_9 ) ; IDENT_19 . save ( event ) ; event = new org . IDENT_6 . IDENT_7 . model . METHOD_18 ( INT_1 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_0 1 ) ; IDENT_19 . save ( event ) ; event = new org . IDENT_6 . IDENT_7 . model . METHOD_18 ( INT_2 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_9 ) ; IDENT_19 . save ( event ) ; event = new org . IDENT_6 . IDENT_7 . model . METHOD_18 ( INT_3 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_9 ) ; org . IDENT_6 . IDENT_7 . service . IDENT_21 IDENT_22 = new org . IDENT_6 . IDENT_7 . service . METHOD_19 ( IDENT_19 , IDENT_2 ) ; IDENT_22 . save ( event ) ; org . IDENT_6 . spec . IDENT_7 . IDENT_23 IDENT_24 = IDENT_22 . METHOD_20 ( INT_1 ) ; "<AssertPlaceHolder>" ; server . close ( ) ; } } METHOD_21 ( ) { return event ; }
org . junit . Assert . assertEquals ( STRING_0 2 , IDENT_24 . METHOD_21 ( ) , STRING_0 1 )