METHOD_0 ( ) { org . apache . avro . IDENT_0 . IDENT_1 record = new org . apache . avro . IDENT_0 . IDENT_2 . METHOD_1 ( org . talend . components . IDENT_3 . IDENT_4 . METHOD_2 ( ) ) ; record . put ( 0 , INT_0 ) ; doReturn ( false ) . when ( client ) . METHOD_3 ( any ( java . util . List . class ) ) ; doReturn ( METHOD_4 ( STRING_0 , STRING_1 , STRING_2 ) ) . when ( client ) . METHOD_5 ( any ( org . talend . components . IDENT_3 . IDENT_5 . IDENT_6 . class ) , any ( java . util . List . class ) ) ; props . IDENT_7 . setValue ( IDENT_8 . METHOD_5 ) ; props . METHOD_6 ( ) ; when ( IDENT_9 . METHOD_7 ( ) ) . thenReturn ( props ) ; writer . METHOD_8 ( "test" ) ; try { writer . write ( record ) ; writer . close ( ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( java . lang . Exception e ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return METHOD_9 ( ) ; }
org . junit . Assert . assertTrue ( e . getMessage ( ) . contains ( STRING_1 ) )