METHOD_0 ( ) { org . IDENT_0 . entities . domain . IDENT_1 event = IDENT_2 . METHOD_1 ( ) ; event . METHOD_2 ( ) . setValue ( "name" , "test" ) ; org . IDENT_0 . entities . domain . IDENT_3 app = IDENT_2 . METHOD_3 ( new java . util . Date ( ) , org . IDENT_0 . components . util . IDENT_4 . METHOD_4 ( new java . util . Date ( ) ) ) ; event . METHOD_5 ( app ) ; org . IDENT_0 . entities . IDENT_5 . IDENT_6 IDENT_7 = event . METHOD_2 ( ) . getType ( ) ; IDENT_2 . store ( event ) ; java . lang . String key = STRING_0 ; { org . IDENT_0 . entities . IDENT_5 . IDENT_6 type = IDENT_2 . METHOD_6 ( IDENT_7 ) ; org . IDENT_0 . entities . IDENT_5 . IDENT_8 IDENT_9 = IDENT_2 . METHOD_7 ( IDENT_10 . IDENT_11 ) ; IDENT_9 . getName ( ) . setName ( STRING_1 , "test" ) ; IDENT_9 . METHOD_8 ( key ) ; type . METHOD_9 ( IDENT_9 ) ; IDENT_2 . store ( type ) ; } { org . IDENT_0 . entities . domain . IDENT_1 IDENT_12 = IDENT_2 . METHOD_6 ( event ) ; IDENT_12 . METHOD_2 ( ) . setValue ( key , Boolean . IDENT_13 ) ; IDENT_2 . store ( IDENT_12 ) ; } { org . IDENT_0 . entities . IDENT_5 . IDENT_14 IDENT_15 = IDENT_7 . METHOD_10 ( ) ; "<AssertPlaceHolder>" ; IDENT_15 . METHOD_11 ( key , new java . lang . Object [ ] [ ] { new java . lang . Object [ ] { STRING_2 , Boolean . IDENT_13 } } ) ; model . METHOD_12 ( new org . IDENT_0 . entities . IDENT_5 . IDENT_14 [ ] { IDENT_15 } ) ; org . IDENT_0 . IDENT_16 . sync . IDENT_17 . METHOD_13 ( model . save ( "test" ) , INT_0 , logger ) ; java . lang . Thread . sleep ( 100 ) ; } { org . IDENT_0 . entities . IDENT_5 . IDENT_6 type = IDENT_2 . METHOD_6 ( IDENT_7 ) ; org . IDENT_0 . entities . IDENT_5 . IDENT_8 IDENT_9 = type . METHOD_14 ( key ) ; IDENT_9 . METHOD_15 ( IDENT_10 . IDENT_18 ) ; IDENT_2 . store ( type ) ; } { java . lang . Thread . sleep ( 100 ) ; model . METHOD_16 ( model . METHOD_17 ( ) ) ; } METHOD_10 ( ) { if ( ! ( METHOD_18 ( ) ) ) { throw new java . lang . IllegalStateException ( STRING_3 ) ; } return METHOD_19 ( ) ; }
org . junit . Assert . assertNotNull ( IDENT_15 )