METHOD_0 ( ) { java . util . List < javax . IDENT_0 . component . IDENT_1 > components = METHOD_1 ( 4 ) ; for ( javax . IDENT_0 . component . IDENT_1 component : components ) { METHOD_2 ( ( ( javax . IDENT_0 . component . IDENT_2 ) ( component ) ) . isValid ( ) ) . METHOD_3 ( true ) ; } components . add ( 2 , mock ( javax . IDENT_0 . component . IDENT_1 . class ) ) ; METHOD_2 ( this . context . METHOD_4 ( anyString ( ) ) ) . METHOD_3 ( org . springframework . IDENT_3 . template . ui . IDENT_4 . IDENT_5 ) ; org . springframework . IDENT_3 . template . ui . IDENT_6 info = new org . springframework . IDENT_3 . template . ui . METHOD_5 ( this . context , components ) ; "<AssertPlaceHolder>" ; } isValid ( ) { for ( javax . IDENT_0 . component . IDENT_1 component : this . components ) { if ( ! ( isValid ( component ) ) ) { return false ; } } return true ; }
org . junit . Assert . assertThat ( info . isValid ( ) , org . hamcrest . Matchers . is ( true ) )