METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_4 IDENT_5 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . IDENT_1 . IDENT_4 . class ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_6 IDENT_7 = new org . apache . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; IDENT_7 . METHOD_2 ( org . apache . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 ) ; IDENT_7 . METHOD_3 ( new java . util . Date ( ) ) ; IDENT_7 . METHOD_4 ( STRING_0 ) ; IDENT_7 . METHOD_5 ( STRING_1 ) ; IDENT_7 . setId ( org . apache . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 ) ; IDENT_7 . METHOD_6 ( true ) ; IDENT_7 . setName ( STRING_2 ) ; IDENT_7 . METHOD_7 ( new java . util . Date ( ) ) ; IDENT_7 . METHOD_8 ( 1L ) ; IDENT_7 . METHOD_9 ( 1L ) ; IDENT_7 . METHOD_10 ( org . apache . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 ) ; IDENT_7 . METHOD_11 ( new java . util . Date ( ) ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_10 IDENT_11 = new org . apache . IDENT_0 . IDENT_1 . METHOD_12 ( ) ; IDENT_11 . METHOD_13 ( org . apache . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 ) ; IDENT_11 . METHOD_8 ( 1L ) ; IDENT_11 . METHOD_7 ( new java . util . Date ( ) ) ; IDENT_11 . METHOD_14 ( 1L ) ; IDENT_11 . METHOD_15 ( new java . util . Date ( ) ) ; java . lang . String IDENT_12 = STRING_3 ; java . lang . Long IDENT_13 = 1L ; org . mockito . Mockito . when ( IDENT_14 . METHOD_16 ( ) ) . thenReturn ( IDENT_3 ) ; org . mockito . Mockito . when ( IDENT_14 . METHOD_17 ( ) ) . thenReturn ( IDENT_5 ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_18 ( IDENT_12 ) ) . thenReturn ( IDENT_7 ) ; org . mockito . Mockito . when ( IDENT_5 . METHOD_19 ( IDENT_12 ) ) . thenReturn ( IDENT_11 ) ; org . apache . IDENT_0 . plugin . util . IDENT_15 IDENT_16 = IDENT_17 . METHOD_20 ( IDENT_12 , IDENT_13 , true ) ; "<AssertPlaceHolder>" ; } METHOD_20 ( java . lang . String , java . lang . Long , boolean ) { if ( org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . METHOD_21 ( ) ) { org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . debug ( ( ( ( ( ( ( STRING_4 + IDENT_12 ) + STRING_5 ) + IDENT_13 ) + STRING_5 ) + IDENT_19 ) + STRING_6 ) ) ; } org . apache . IDENT_0 . plugin . util . IDENT_15 ret = null ; org . apache . IDENT_0 . IDENT_1 . METHOD_1 IDENT_20 = IDENT_21 . METHOD_16 ( ) . METHOD_18 ( IDENT_12 ) ; if ( IDENT_20 == null ) { throw new java . lang . Exception ( ( STRING_7 + IDENT_12 ) ) ; } org . apache . IDENT_0 . IDENT_1 . METHOD_12 IDENT_22 = IDENT_21 . METHOD_17 ( ) . METHOD_19 ( IDENT_12 ) ; if ( IDENT_22 == null ) { org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . warn ( ( STRING_7 0 + IDENT_12 ) ) ; } if ( ( ( ( IDENT_13 == null ) || ( IDENT_22 == null ) ) || ( ( IDENT_22 . METHOD_22 ( ) ) == null ) ) || ( ! ( IDENT_13 . equals ( IDENT_22 . METHOD_22 ( ) ) ) ) ) { ret = org . apache . IDENT_0 . common . IDENT_23 . getInstance ( ) . METHOD_23 ( IDENT_12 , IDENT_20 . getId ( ) , IDENT_13 , IDENT_19 , this ) ; } if ( org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . METHOD_21 ( ) ) { org . apache . IDENT_0 . common . IDENT_23 . getInstance ( ) . METHOD_24 ( ) ; } if ( ( ( ret != null ) && ( IDENT_13 != null ) ) && ( IDENT_13 . equals ( ret . METHOD_22 ( ) ) ) ) { ret = null ; } if ( ret != null ) { if ( org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . METHOD_21 ( ) ) { org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . debug ( ( ( STRING_8 + ( ret . METHOD_25 ( ) ) ) + STRING_9 ) ) ; } if ( ! ( IDENT_20 . METHOD_26 ( ) ) ) { ret = org . apache . IDENT_0 . plugin . util . IDENT_15 . METHOD_27 ( ret ) ; } else if ( ( ret . METHOD_28 ( ) ) != null ) { if ( org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . METHOD_21 ( ) ) { org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . debug ( ( ( STRING_10 + ( ret . METHOD_28 ( ) . METHOD_25 ( ) ) ) + STRING_9 ) ) ; } java . lang . String IDENT_24 = ret . METHOD_28 ( ) . METHOD_25 ( ) ; if ( org . apache . commons . lang . StringUtils . METHOD_29 ( IDENT_24 ) ) { org . apache . IDENT_0 . IDENT_1 . METHOD_1 IDENT_25 = IDENT_21 . METHOD_16 ( ) . METHOD_18 ( IDENT_24 ) ; if ( ( IDENT_25 == null ) || ( ! ( IDENT_25 . METHOD_26 ( ) ) ) ) { if ( org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . METHOD_21 ( ) ) { org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . debug ( ( ( STRING_11 + IDENT_24 ) + STRING_9 ) ) ; } org . apache . IDENT_0 . plugin . util . IDENT_15 IDENT_26 = org . apache . IDENT_0 . plugin . util . IDENT_15 . METHOD_27 ( ret ) ; IDENT_26 . METHOD_30 ( null ) ; java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_27 > IDENT_28 = ( ( ret . METHOD_31 ( ) ) != null ) ? new java . util . ArrayList ( ret . METHOD_31 ( ) ) : null ; java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_29 > IDENT_30 = ( ( ret . METHOD_32 ( ) ) != null ) ? new java . util . ArrayList ( ret . METHOD_32 ( ) ) : null ; IDENT_26 . METHOD_33 ( IDENT_28 ) ; IDENT_26 . METHOD_34 ( IDENT_30 ) ; ret = IDENT_26 ; } } } } if ( org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . METHOD_21 ( ) ) { org . apache . IDENT_0 . IDENT_1 . IDENT_18 . LOG . debug ( ( ( ( ( ( ( ( STRING_12 + IDENT_12 ) + STRING_5 ) + IDENT_13 ) + STRING_5 ) + IDENT_19 ) + STRING_13 ) + ( ( ret == null ) || ( ( ret . METHOD_31 ( ) ) == null ) ? 0 : ret . METHOD_31 ( ) . size ( ) ) ) ) ; } return ret ; }
org . junit . Assert . assertNull ( IDENT_16 )