METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . spi . content . template . IDENT_2 generator = new com . IDENT_0 . IDENT_1 . spi . impl . content . template . METHOD_1 ( ) ; final com . IDENT_0 . IDENT_1 . api . IDENT_3 . IDENT_4 template = IDENT_5 . mock ( com . IDENT_0 . IDENT_1 . api . IDENT_3 . IDENT_4 . class ) ; com . IDENT_0 . IDENT_1 . api . impl . IDENT_3 . IDENT_6 impl = new com . IDENT_0 . IDENT_1 . api . impl . IDENT_3 . METHOD_2 ( ) { @ com . IDENT_0 . IDENT_1 . spi . impl . content . Override public com . IDENT_0 . IDENT_1 . api . IDENT_3 . IDENT_4 METHOD_3 ( com . IDENT_0 . IDENT_1 . api . IDENT_3 . IDENT_7 IDENT_8 , java . lang . String name ) { return template ; } } ; impl . METHOD_4 ( java . util . Collections . METHOD_5 ( IDENT_9 . IDENT_10 , generator ) ) ; com . IDENT_0 . IDENT_1 . spi . content . IDENT_11 provider = new com . IDENT_0 . IDENT_1 . spi . impl . content . METHOD_6 ( ) ; METHOD_7 ( impl ) ; final com . IDENT_0 . IDENT_1 . api . content . IDENT_12 content = IDENT_5 . mock ( com . IDENT_0 . IDENT_1 . api . content . IDENT_12 . class , STRING_0 ) ; final com . IDENT_0 . IDENT_1 . api . content . Field field = IDENT_5 . mock ( com . IDENT_0 . IDENT_1 . api . content . Field . class , STRING_1 ) ; final com . IDENT_0 . IDENT_1 . api . content . IDENT_13 value = IDENT_5 . mock ( com . IDENT_0 . IDENT_1 . api . content . IDENT_13 . class , STRING_2 ) ; IDENT_5 . METHOD_8 ( new org . IDENT_14 . METHOD_9 ( ) { { METHOD_10 ( 1 ) . of ( template ) . METHOD_11 ( ) ; METHOD_12 ( METHOD_13 ( org . apache . commons . io . IDENT_15 . toByteArray ( getClass ( ) . METHOD_14 ( ) . getResourceAsStream ( STRING_3 ) ) ) ) ; METHOD_10 ( 1 ) . of ( value ) . getValue ( ) ; METHOD_12 ( METHOD_13 ( com . IDENT_0 . IDENT_1 . spi . impl . content . IDENT_16 . IDENT_17 ) ) ; METHOD_10 ( 1 ) . of ( field ) . getValue ( ) ; METHOD_12 ( METHOD_13 ( value ) ) ; com . IDENT_0 . IDENT_1 . api . type . IDENT_18 IDENT_19 = IDENT_5 . mock ( com . IDENT_0 . IDENT_1 . api . type . IDENT_18 . class , STRING_4 ) ; METHOD_10 ( 1 ) . of ( field ) . METHOD_15 ( ) ; METHOD_12 ( METHOD_13 ( IDENT_19 ) ) ; com . IDENT_0 . IDENT_1 . api . type . IDENT_20 IDENT_21 = IDENT_5 . mock ( com . IDENT_0 . IDENT_1 . api . type . IDENT_20 . class , STRING_5 ) ; METHOD_10 ( 1 ) . of ( IDENT_19 ) . METHOD_16 ( ) ; METHOD_12 ( METHOD_13 ( java . util . Collections . METHOD_17 ( IDENT_21 ) ) ) ; METHOD_10 ( 1 ) . of ( field ) . getName ( ) ; METHOD_12 ( METHOD_13 ( com . IDENT_0 . IDENT_1 . spi . impl . content . IDENT_16 . IDENT_22 ) ) ; final com . IDENT_0 . IDENT_1 . api . type . IDENT_23 IDENT_24 = IDENT_5 . mock ( com . IDENT_0 . IDENT_1 . api . type . IDENT_23 . class , STRING_6 ) ; METHOD_10 ( 1 ) . of ( IDENT_21 ) . METHOD_18 ( ) ; METHOD_12 ( METHOD_13 ( IDENT_24 ) ) ; METHOD_10 ( 1 ) . of ( IDENT_24 ) . getValue ( ) ; METHOD_12 ( METHOD_13 ( STRING_7 ) ) ; METHOD_10 ( 1 ) . of ( IDENT_24 ) . getType ( ) ; METHOD_12 ( METHOD_13 ( IDENT_23 . Type . IDENT_25 ) ) ; final com . IDENT_0 . IDENT_1 . api . content . IDENT_26 IDENT_27 = IDENT_5 . mock ( com . IDENT_0 . IDENT_1 . api . content . IDENT_26 . class , STRING_8 ) ; METHOD_10 ( 1 ) . of ( content ) . METHOD_19 ( ) ; METHOD_12 ( METHOD_13 ( IDENT_27 ) ) ; final com . IDENT_0 . IDENT_1 . api . IDENT_3 . IDENT_7 IDENT_28 = IDENT_5 . mock ( com . IDENT_0 . IDENT_1 . api . IDENT_3 . IDENT_7 . class , STRING_9 ) ; METHOD_10 ( 1 ) . of ( IDENT_27 ) . METHOD_20 ( ) ; METHOD_12 ( METHOD_13 ( IDENT_28 ) ) ; METHOD_10 ( 1 ) . of ( template ) . METHOD_21 ( ) ; METHOD_12 ( METHOD_13 ( IDENT_9 . IDENT_10 ) ) ; METHOD_10 ( 1 ) . of ( IDENT_21 ) . METHOD_22 ( ) ; METHOD_12 ( METHOD_13 ( java . util . Collections . METHOD_23 ( ) ) ) ; } } ) ; "<AssertPlaceHolder>" ; } METHOD_24 ( com . IDENT_0 . IDENT_1 . api . content . IDENT_12 , com . IDENT_0 . IDENT_1 . api . content . Field ) { if ( ( content == null ) || ( field == null ) ) { logger . info ( STRING_10 ) ; return true ; } java . util . Collection < com . IDENT_0 . IDENT_1 . api . type . IDENT_20 > IDENT_29 = field . METHOD_15 ( ) . METHOD_16 ( ) ; if ( logger . METHOD_25 ( ) ) { logger . debug ( ( ( ( STRING_11 + ( field . getName ( ) ) ) + STRING_12 ) + ( IDENT_29 . size ( ) ) ) ) ; } boolean IDENT_30 = true ; for ( com . IDENT_0 . IDENT_1 . api . type . IDENT_20 IDENT_31 : IDENT_29 ) { if ( IDENT_31 == null ) { logger . info ( STRING_13 ) ; continue ; } final com . IDENT_0 . IDENT_1 . api . type . IDENT_23 uri = IDENT_31 . METHOD_18 ( ) ; if ( uri . getType ( ) . equals ( IDENT_23 . Type . IDENT_32 ) ) { logger . warn ( STRING_14 ) ; continue ; } com . IDENT_0 . IDENT_1 . api . content . template . IDENT_33 validator = com . IDENT_0 . IDENT_1 . api . factory . IDENT_34 . getInstance ( ) . METHOD_26 ( ) . METHOD_27 ( content . METHOD_19 ( ) . METHOD_20 ( ) , uri . getValue ( ) ) ; if ( validator == null ) { logger . info ( STRING_15 ) ; continue ; } IDENT_30 = IDENT_30 && ( validator . METHOD_28 ( field , IDENT_31 . METHOD_22 ( ) ) ) ; } return IDENT_30 ; }
org . junit . Assert . assertFalse ( provider . METHOD_24 ( content , field ) )