METHOD_0 ( ) { org . apache . IDENT_0 . db . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_1 . class ) ; org . apache . IDENT_0 . db . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_3 . class ) ; org . apache . IDENT_0 . db . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_5 . class ) ; org . apache . IDENT_0 . db . IDENT_7 IDENT_8 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_7 . class ) ; java . lang . String name = STRING_0 ; java . util . List < org . apache . IDENT_0 . entity . IDENT_9 > IDENT_10 = new java . util . ArrayList < org . apache . IDENT_0 . entity . IDENT_9 > ( ) ; org . apache . IDENT_0 . entity . IDENT_9 IDENT_11 = new org . apache . IDENT_0 . entity . METHOD_1 ( ) ; IDENT_11 . METHOD_2 ( null ) ; IDENT_11 . METHOD_3 ( name ) ; IDENT_11 . METHOD_4 ( name ) ; IDENT_11 . METHOD_5 ( new java . util . Date ( ) ) ; IDENT_11 . METHOD_6 ( null ) ; IDENT_11 . METHOD_7 ( null ) ; IDENT_11 . METHOD_8 ( new java . util . Date ( ) ) ; IDENT_10 . add ( IDENT_11 ) ; java . util . List < org . apache . IDENT_0 . entity . IDENT_12 > IDENT_13 = new java . util . ArrayList < org . apache . IDENT_0 . entity . IDENT_12 > ( ) ; org . apache . IDENT_0 . entity . IDENT_12 IDENT_14 = METHOD_9 ( ) ; IDENT_13 . add ( METHOD_9 ) ; org . apache . IDENT_0 . entity . IDENT_15 IDENT_16 = new org . apache . IDENT_0 . entity . METHOD_10 ( ) ; IDENT_16 . METHOD_2 ( org . apache . IDENT_0 . service . IDENT_17 . IDENT_18 ) ; IDENT_16 . METHOD_5 ( new java . util . Date ( ) ) ; IDENT_16 . METHOD_11 ( STRING_1 ) ; IDENT_16 . METHOD_12 ( name ) ; IDENT_16 . setId ( org . apache . IDENT_0 . service . IDENT_17 . IDENT_18 ) ; IDENT_16 . METHOD_13 ( name ) ; org . apache . IDENT_0 . entity . IDENT_19 IDENT_20 = new org . apache . IDENT_0 . entity . METHOD_14 ( ) ; IDENT_20 . METHOD_2 ( org . apache . IDENT_0 . service . IDENT_17 . IDENT_18 ) ; IDENT_20 . METHOD_5 ( new java . util . Date ( ) ) ; IDENT_20 . METHOD_15 ( "test" ) ; IDENT_20 . METHOD_16 ( STRING_2 ) ; IDENT_20 . setId ( org . apache . IDENT_0 . service . IDENT_17 . IDENT_18 ) ; org . apache . IDENT_0 . db . IDENT_21 IDENT_22 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_21 . class ) ; org . apache . IDENT_0 . entity . IDENT_23 IDENT_24 = new org . apache . IDENT_0 . entity . METHOD_17 ( ) ; IDENT_24 . METHOD_6 ( METHOD_9 . getId ( ) ) ; IDENT_24 . METHOD_18 ( METHOD_9 . METHOD_19 ( ) ) ; IDENT_24 . METHOD_20 ( METHOD_9 . METHOD_21 ( ) ) ; IDENT_24 . METHOD_22 ( METHOD_9 . METHOD_23 ( ) ) ; IDENT_24 . METHOD_24 ( METHOD_9 . METHOD_25 ( ) ) ; org . mockito . Mockito . when ( IDENT_25 . METHOD_26 ( ) ) . thenReturn ( IDENT_22 ) ; org . mockito . Mockito . when ( IDENT_22 . METHOD_27 ( METHOD_9 . getId ( ) ) ) . thenReturn ( IDENT_24 ) ; org . mockito . Mockito . when ( IDENT_25 . METHOD_28 ( ) ) . thenReturn ( IDENT_2 ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_29 ( ) ) . thenReturn ( IDENT_13 ) ; org . mockito . Mockito . when ( IDENT_25 . METHOD_30 ( ) ) . thenReturn ( IDENT_4 ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_31 ( org . apache . IDENT_0 . service . IDENT_17 . IDENT_18 ) ) . thenReturn ( IDENT_16 ) ; org . mockito . Mockito . when ( IDENT_25 . METHOD_32 ( ) ) . thenReturn ( IDENT_8 ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_31 ( METHOD_9 . getType ( ) ) ) . thenReturn ( IDENT_20 ) ; org . mockito . Mockito . when ( IDENT_25 . METHOD_33 ( ) ) . thenReturn ( IDENT_6 ) ; org . mockito . Mockito . when ( IDENT_6 . METHOD_27 ( METHOD_9 . getId ( ) ) ) . thenReturn ( IDENT_10 ) ; java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_26 > IDENT_27 = IDENT_28 . METHOD_34 ( ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_25 ) . METHOD_32 ( ) ; org . mockito . Mockito . verify ( IDENT_25 ) . METHOD_33 ( ) ; } METHOD_34 ( ) { java . util . List < org . apache . IDENT_0 . entity . IDENT_12 > IDENT_29 = IDENT_30 . METHOD_28 ( ) . METHOD_29 ( ) ; java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_26 > IDENT_31 = new java . util . ArrayList < org . apache . IDENT_0 . plugin . model . IDENT_26 > ( ) ; for ( org . apache . IDENT_0 . entity . IDENT_12 IDENT_32 : IDENT_29 ) { org . apache . IDENT_0 . plugin . model . IDENT_26 service = METHOD_35 ( IDENT_32 ) ; IDENT_31 . add ( service ) ; } return IDENT_31 ; }
org . junit . Assert . assertNotNull ( IDENT_27 )