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