METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . IDENT_1 . IDENT_2 . IDENT_3 . Builder IDENT_4 = METHOD_1 ( IDENT_0 ) ; java . util . List < org . IDENT_1 . IDENT_2 . IDENT_5 . Builder > IDENT_6 = new java . util . ArrayList < org . IDENT_1 . IDENT_2 . IDENT_5 . Builder > ( ) ; org . IDENT_1 . IDENT_2 . IDENT_5 . Builder IDENT_7 = METHOD_2 ( STRING_1 , IDENT_4 ) ; IDENT_6 . add ( IDENT_7 ) ; METHOD_3 ( INT_0 , IDENT_4 ) ; org . IDENT_1 . IDENT_2 . IDENT_8 . Builder builder = org . IDENT_1 . IDENT_2 . IDENT_8 . METHOD_4 ( ) ; METHOD_5 ( INT_1 , IDENT_7 ) ; org . IDENT_1 . IDENT_2 . IDENT_5 . Builder IDENT_9 = METHOD_6 ( 5 , STRING_2 , IDENT_7 ) ; IDENT_6 . add ( IDENT_9 ) ; METHOD_5 ( INT_2 , IDENT_9 ) ; org . IDENT_1 . IDENT_2 . IDENT_5 . Builder IDENT_10 = METHOD_6 ( 2 , STRING_3 , IDENT_9 ) ; IDENT_6 . add ( IDENT_10 ) ; METHOD_5 ( 10 , IDENT_10 ) ; org . IDENT_1 . IDENT_2 . IDENT_11 . Builder schema = org . IDENT_1 . IDENT_2 . IDENT_11 . METHOD_4 ( ) . METHOD_7 ( IDENT_4 ) . METHOD_8 ( com . fujitsu . dc . test . unit . core . model . impl . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_15 ) . METHOD_9 ( IDENT_6 ) ; org . IDENT_1 . IDENT_2 . IDENT_8 metadata = builder . METHOD_10 ( schema ) . build ( ) ; com . fujitsu . dc . core . model . impl . IDENT_12 . doc . IDENT_16 handler = new com . fujitsu . dc . core . model . impl . IDENT_12 . doc . METHOD_11 ( ) ; org . json . simple . JSONObject IDENT_17 = new org . json . simple . JSONObject ( ) ; IDENT_17 . put ( STRING_4 , STRING_5 ) ; handler . METHOD_12 ( IDENT_17 ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_18 = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; IDENT_18 . put ( STRING_6 , STRING_1 ) ; handler . METHOD_13 ( IDENT_18 ) ; handler . METHOD_14 ( STRING_7 ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_19 = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; IDENT_19 . put ( IDENT_20 . IDENT_21 , STRING_7 ) ; handler . METHOD_15 ( IDENT_19 ) ; com . fujitsu . dc . core . model . impl . IDENT_12 . IDENT_13 . IDENT_22 IDENT_23 = new com . fujitsu . dc . core . model . impl . IDENT_12 . IDENT_13 . METHOD_16 ( metadata , handler ) ; java . util . List < com . fujitsu . dc . core . model . impl . IDENT_12 . IDENT_13 . METHOD_16 . IDENT_24 > errors = IDENT_23 . METHOD_17 ( ) ; "<AssertPlaceHolder>" ; } METHOD_17 ( ) { java . util . List < com . fujitsu . dc . core . model . impl . IDENT_12 . IDENT_13 . METHOD_16 . IDENT_24 > result = new java . util . ArrayList < com . fujitsu . dc . core . model . impl . IDENT_12 . IDENT_13 . METHOD_16 . IDENT_24 > ( ) ; if ( null == ( metadata ) ) { return result ; } java . util . Iterator < org . IDENT_1 . IDENT_2 . IDENT_3 > IDENT_25 = metadata . METHOD_18 ( ) . iterator ( ) ; while ( IDENT_25 . hasNext ( ) ) { org . IDENT_1 . IDENT_2 . IDENT_3 target = IDENT_25 . next ( ) ; METHOD_19 ( result , target ) ; } java . util . Iterator < org . IDENT_1 . IDENT_2 . IDENT_5 > IDENT_26 = metadata . METHOD_20 ( ) . iterator ( ) ; while ( IDENT_26 . hasNext ( ) ) { int IDENT_27 = 0 ; int IDENT_28 = 0 ; org . IDENT_1 . IDENT_2 . IDENT_5 IDENT_29 = IDENT_26 . next ( ) ; for ( org . IDENT_1 . IDENT_2 . IDENT_30 IDENT_31 : IDENT_29 . METHOD_21 ( ) ) { if ( IDENT_31 . getName ( ) . startsWith ( STRING_8 ) ) { continue ; } if ( IDENT_31 . getType ( ) . METHOD_22 ( ) ) { IDENT_27 ++ ; } else { IDENT_28 ++ ; } } if ( ( IDENT_32 ) < IDENT_27 ) { java . lang . String message = java . lang . String . format ( STRING_9 , IDENT_29 . getName ( ) , IDENT_32 ) ; com . fujitsu . dc . core . model . impl . IDENT_12 . IDENT_13 . METHOD_16 . log . info ( message ) ; result . add ( new com . fujitsu . dc . core . model . impl . IDENT_12 . IDENT_13 . METHOD_16 . METHOD_23 ( IDENT_29 . getName ( ) , message ) ) ; } if ( ( IDENT_33 ) < IDENT_28 ) { java . lang . String message = java . lang . String . format ( STRING_9 , IDENT_29 . getName ( ) , IDENT_33 ) ; com . fujitsu . dc . core . model . impl . IDENT_12 . IDENT_13 . METHOD_16 . log . info ( message ) ; result . add ( new com . fujitsu . dc . core . model . impl . IDENT_12 . IDENT_13 . METHOD_16 . METHOD_23 ( IDENT_29 . getName ( ) , message ) ) ; } } return result ; }
org . junit . Assert . assertEquals ( 0 , errors . size ( ) )