METHOD_0 ( ) { org . springframework . context . IDENT_0 context = org . mockito . Mockito . mock ( org . springframework . context . IDENT_0 . class , Mockito . IDENT_1 ) ; org . mockito . Mockito . when ( context . METHOD_1 ( java . lang . String . class ) ) . thenReturn ( new java . lang . String [ ] { STRING_0 , STRING_1 } ) ; org . mockito . Mockito . when ( context . METHOD_2 ( ) . METHOD_3 ( java . lang . String . class ) ) . thenReturn ( STRING_2 ) ; com . vaadin . flow . IDENT_2 . IDENT_3 IDENT_4 = new com . vaadin . flow . IDENT_2 . METHOD_4 ( null , context ) ; java . lang . String bean = IDENT_4 . METHOD_5 ( java . lang . String . class ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . Class ) { if ( ( context . METHOD_1 ( type ) . length ) == 1 ) { return context . METHOD_6 ( type ) ; } else if ( ( context . METHOD_1 ( type ) . length ) > 1 ) { try { return context . METHOD_2 ( ) . METHOD_3 ( type ) ; } catch ( org . springframework . beans . IDENT_5 e ) { throw new org . springframework . beans . METHOD_7 ( e . METHOD_8 ( ) , STRING_3 , e ) ; } } else { return context . METHOD_2 ( ) . METHOD_3 ( type ) ; } }
org . junit . Assert . assertEquals ( STRING_2 , bean )