METHOD_0 ( ) { org . apache . IDENT_0 . plugin . model . IDENT_1 policy = null ; org . apache . IDENT_0 . plugin . model . IDENT_2 IDENT_3 = new org . apache . IDENT_0 . plugin . model . METHOD_1 ( ) ; IDENT_3 . setName ( STRING_0 ) ; IDENT_3 . METHOD_2 ( STRING_0 ) ; org . apache . IDENT_0 . view . IDENT_4 IDENT_5 = IDENT_6 . METHOD_3 ( policy , IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . apache . IDENT_0 . plugin . model . IDENT_1 , org . apache . IDENT_0 . plugin . model . METHOD_1 ) { if ( ( ( policy == null ) || ( service == null ) ) || ( ( org . apache . IDENT_0 . common . IDENT_7 . METHOD_4 ( service . getType ( ) ) ) == null ) ) { return null ; } org . apache . IDENT_0 . view . IDENT_4 ret = new org . apache . IDENT_0 . view . METHOD_5 ( ) ; METHOD_6 ( policy , ret ) ; ret . METHOD_7 ( policy . METHOD_8 ( ) ) ; ret . METHOD_9 ( service . getId ( ) ) ; ret . METHOD_10 ( org . apache . IDENT_0 . common . IDENT_7 . METHOD_4 ( service . getType ( ) ) ) ; ret . METHOD_11 ( policy . getName ( ) ) ; ret . METHOD_12 ( policy . METHOD_13 ( ) ) ; ret . METHOD_14 ( policy . METHOD_15 ( ) ) ; ret . METHOD_16 ( ( policy . METHOD_17 ( ) ? IDENT_8 . IDENT_9 : IDENT_8 . IDENT_10 ) ) ; java . util . List < org . apache . IDENT_0 . view . IDENT_11 > IDENT_12 = null ; if ( policy . METHOD_18 ( ) ) { org . apache . IDENT_0 . view . IDENT_11 IDENT_13 = new org . apache . IDENT_0 . view . METHOD_19 ( ) ; IDENT_13 . METHOD_20 ( policy . getId ( ) ) ; IDENT_13 . METHOD_21 ( IDENT_14 . IDENT_15 ) ; IDENT_12 = new java . util . ArrayList < org . apache . IDENT_0 . view . METHOD_19 > ( ) ; IDENT_12 . add ( IDENT_13 ) ; } ret . METHOD_22 ( IDENT_12 ) ; for ( Map . Entry < java . lang . String , org . apache . IDENT_0 . plugin . model . IDENT_1 . IDENT_16 > e : policy . METHOD_23 ( ) . entrySet ( ) ) { org . apache . IDENT_0 . plugin . model . IDENT_1 . IDENT_16 res = e . getValue ( ) ; java . lang . String IDENT_17 = e . getKey ( ) ; java . lang . String IDENT_18 = METHOD_24 ( res . METHOD_25 ( ) ) ; if ( STRING_1 . equalsIgnoreCase ( IDENT_17 ) ) { ret . setName ( IDENT_18 ) ; ret . METHOD_26 ( ( Boolean . IDENT_19 . equals ( res . METHOD_27 ( ) ) ? IDENT_8 . IDENT_20 : IDENT_8 . IDENT_21 ) ) ; } else if ( STRING_2 . equalsIgnoreCase ( IDENT_17 ) ) { ret . METHOD_28 ( IDENT_18 ) ; ret . METHOD_29 ( ( Boolean . IDENT_19 . equals ( res . METHOD_30 ( ) ) ? IDENT_8 . IDENT_22 : IDENT_8 . IDENT_23 ) ) ; } else if ( STRING_3 . equalsIgnoreCase ( IDENT_17 ) ) { ret . METHOD_31 ( IDENT_18 ) ; } else if ( STRING_4 . equalsIgnoreCase ( IDENT_17 ) ) { ret . METHOD_32 ( IDENT_18 ) ; ret . METHOD_33 ( ( Boolean . IDENT_19 . equals ( res . METHOD_30 ( ) ) ? IDENT_8 . IDENT_22 : IDENT_8 . IDENT_23 ) ) ; } else if ( STRING_5 . equalsIgnoreCase ( IDENT_17 ) ) { ret . METHOD_34 ( IDENT_18 ) ; } else if ( STRING_6 . equalsIgnoreCase ( IDENT_17 ) ) { ret . METHOD_35 ( IDENT_18 ) ; } else if ( STRING_7 . equalsIgnoreCase ( IDENT_17 ) ) { ret . METHOD_36 ( IDENT_18 ) ; } else if ( STRING_8 . equalsIgnoreCase ( IDENT_17 ) ) { ret . METHOD_37 ( IDENT_18 ) ; } else if ( IDENT_17 . equalsIgnoreCase ( STRING_9 ) ) { ret . METHOD_38 ( IDENT_18 ) ; } } METHOD_39 ( ret ) ; java . util . List < org . apache . IDENT_0 . view . IDENT_24 > IDENT_25 = METHOD_40 ( policy ) ; ret . METHOD_41 ( IDENT_25 ) ; return ret ; }
org . junit . Assert . assertNull ( IDENT_5 )