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