METHOD_0 ( ) { org . IDENT_0 . resource . IDENT_1 IDENT_2 = new org . IDENT_0 . resource . METHOD_1 ( IDENT_3 , null , IDENT_4 . getInstance ( org . IDENT_0 . IDENT_5 . IDENT_6 . class ) , IDENT_7 ) ; org . IDENT_0 . model . IDENT_8 IDENT_9 = mock ( org . IDENT_0 . model . IDENT_8 . class ) ; java . util . List < org . IDENT_0 . IDENT_5 . IDENT_10 > events = new java . util . ArrayList ( ) ; events . add ( METHOD_2 ( ) ) ; java . util . List < org . IDENT_0 . dto . api . v1 . IDENT_11 > IDENT_12 = new java . util . ArrayList ( ) ; IDENT_12 . add ( METHOD_3 ( ) ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( IDENT_9 ) ; when ( IDENT_9 . list ( ) ) . thenReturn ( events ) ; when ( IDENT_7 . METHOD_5 ( any ( org . IDENT_0 . IDENT_5 . IDENT_10 . class ) , any ( java . lang . Class . class ) ) ) . thenReturn ( METHOD_3 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { java . util . List < org . IDENT_0 . IDENT_5 . IDENT_10 > events = IDENT_13 . METHOD_4 ( ) . list ( ) ; java . util . List < org . IDENT_0 . dto . api . v1 . IDENT_11 > IDENT_12 = null ; if ( events != null ) { IDENT_14 . METHOD_7 ( events ) ; IDENT_12 = new java . util . ArrayList ( ) ; for ( org . IDENT_0 . IDENT_5 . IDENT_10 event : events ) { IDENT_12 . add ( this . IDENT_7 . METHOD_5 ( event , org . IDENT_0 . dto . api . v1 . IDENT_11 . class ) ) ; } } return IDENT_12 ; }
org . junit . Assert . assertEquals ( IDENT_12 , IDENT_2 . METHOD_6 ( ) )