METHOD_0 ( ) { java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_1 > IDENT_2 = new java . util . ArrayList < org . apache . IDENT_0 . plugin . model . IDENT_1 > ( ) ; org . apache . IDENT_0 . plugin . model . IDENT_1 IDENT_3 = METHOD_1 ( ) ; IDENT_2 . add ( METHOD_1 ) ; java . lang . String IDENT_4 = STRING_0 ; java . lang . String IDENT_5 = STRING_1 ; java . lang . Boolean IDENT_6 = true ; org . apache . IDENT_0 . plugin . model . IDENT_7 IDENT_8 = METHOD_2 ( ) ; java . util . List < org . apache . IDENT_0 . IDENT_9 . IDENT_10 > IDENT_11 = new java . util . ArrayList < org . apache . IDENT_0 . IDENT_9 . IDENT_10 > ( ) ; org . apache . IDENT_0 . IDENT_9 . IDENT_10 policy = new org . apache . IDENT_0 . IDENT_9 . METHOD_3 ( ) ; policy . METHOD_4 ( org . apache . IDENT_0 . IDENT_9 . IDENT_12 . IDENT_13 ) ; policy . METHOD_5 ( new java . util . Date ( ) ) ; policy . METHOD_6 ( STRING_2 ) ; policy . METHOD_7 ( "" ) ; policy . setId ( METHOD_2 . getId ( ) ) ; policy . METHOD_8 ( true ) ; policy . setName ( STRING_3 ) ; policy . METHOD_9 ( METHOD_2 . getId ( ) ) ; IDENT_11 . add ( policy ) ; org . apache . IDENT_0 . IDENT_9 . IDENT_14 IDENT_15 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . IDENT_9 . IDENT_14 . class ) ; org . mockito . Mockito . when ( IDENT_16 . METHOD_10 ( ) ) . thenReturn ( IDENT_15 ) ; org . mockito . Mockito . when ( IDENT_15 . METHOD_11 ( IDENT_4 , IDENT_5 , IDENT_6 ) ) . thenReturn ( IDENT_11 ) ; java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_1 > IDENT_17 = IDENT_18 . METHOD_12 ( IDENT_4 , IDENT_5 , IDENT_6 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_16 ) . METHOD_10 ( ) ; } METHOD_12 ( java . lang . String , java . lang . String , java . lang . Boolean ) { java . util . List < org . apache . IDENT_0 . IDENT_9 . METHOD_3 > IDENT_19 = IDENT_20 . METHOD_10 ( ) . METHOD_11 ( IDENT_4 , IDENT_5 , IDENT_6 ) ; java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_1 > IDENT_21 = new java . util . ArrayList < org . apache . IDENT_0 . plugin . model . IDENT_1 > ( IDENT_19 . size ( ) ) ; for ( org . apache . IDENT_0 . IDENT_9 . METHOD_3 IDENT_22 : IDENT_19 ) { org . apache . IDENT_0 . plugin . model . IDENT_1 policy = IDENT_23 . METHOD_13 ( IDENT_22 ) ; IDENT_21 . add ( policy ) ; } return IDENT_21 ; }
org . junit . Assert . assertNotNull ( IDENT_17 )