METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { } ; when ( IDENT_1 . METHOD_1 ( IDENT_2 ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_1 . METHOD_2 ( IDENT_2 ) ) . thenReturn ( validator ) ; com . IDENT_3 . validation . IDENT_4 . IDENT_5 IDENT_6 = factory . getInstance ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } getInstance ( java . lang . Class ) { try { java . lang . String IDENT_7 = METHOD_3 ( key ) ; if ( ! ( IDENT_1 . METHOD_4 ( IDENT_7 ) ) ) { java . lang . String msg = STRING_0 ; throw new java . lang . IllegalArgumentException ( java . lang . String . format ( msg , IDENT_7 ) ) ; } return IDENT_1 . METHOD_5 ( IDENT_7 , key ) ; } catch ( java . util . IDENT_8 e ) { return IDENT_1 . METHOD_2 ( key ) ; } }
org . junit . Assert . assertEquals ( IDENT_6 , validator )