METHOD_0 ( ) { java . lang . Class < ? extends ca . IDENT_0 . IDENT_1 . IDENT_2 . model . event . IDENT_3 > clazz = ca . IDENT_0 . IDENT_1 . IDENT_2 . model . event . IDENT_4 . class ; ca . IDENT_0 . IDENT_1 . IDENT_2 . model . project . IDENT_5 project = new ca . IDENT_0 . IDENT_1 . IDENT_2 . model . project . METHOD_1 ( ) ; ca . IDENT_0 . IDENT_1 . IDENT_2 . model . IDENT_6 . IDENT_7 IDENT_6 = new ca . IDENT_0 . IDENT_1 . IDENT_2 . model . IDENT_6 . METHOD_2 ( ) ; ca . IDENT_0 . IDENT_1 . IDENT_2 . model . IDENT_8 . impl . IDENT_9 IDENT_10 = new ca . IDENT_0 . IDENT_1 . IDENT_2 . model . IDENT_8 . impl . METHOD_3 ( project , IDENT_6 , true ) ; java . lang . Object [ ] args = new java . lang . Object [ ] { project , IDENT_6 } ; ca . IDENT_0 . IDENT_1 . IDENT_2 . events . IDENT_11 IDENT_12 = new ca . IDENT_0 . IDENT_1 . IDENT_2 . events . METHOD_4 ( clazz , IDENT_10 , args ) ; when ( IDENT_13 . save ( any ( ca . IDENT_0 . IDENT_1 . IDENT_2 . model . event . IDENT_3 . class ) ) ) . thenReturn ( new ca . IDENT_0 . IDENT_1 . IDENT_2 . model . event . METHOD_5 ( IDENT_10 ) ) ; handler . delegate ( IDENT_12 ) ; org . mockito . IDENT_14 < ca . IDENT_0 . IDENT_1 . IDENT_2 . model . event . IDENT_3 > IDENT_15 = org . mockito . IDENT_14 . METHOD_6 ( ca . IDENT_0 . IDENT_1 . IDENT_2 . model . event . IDENT_3 . class ) ; verify ( IDENT_13 ) . save ( IDENT_15 . METHOD_7 ( ) ) ; ca . IDENT_0 . IDENT_1 . IDENT_2 . model . event . IDENT_3 event = IDENT_15 . getValue ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_16 ) . save ( any ( ca . IDENT_0 . IDENT_1 . IDENT_2 . model . project . METHOD_1 . class ) ) ; } getValue ( ) { return value ; }
org . junit . Assert . assertTrue ( ( event instanceof ca . IDENT_0 . IDENT_1 . IDENT_2 . model . event . METHOD_5 ) )