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