METHOD_0 ( ) { writer . METHOD_1 ( "test" ) ; writer . write ( null ) ; doReturn ( METHOD_2 ( true ) ) . when ( client ) . METHOD_3 ( any ( java . util . ArrayList . class ) ) ; org . apache . avro . IDENT_0 . IDENT_1 record = new org . apache . avro . IDENT_0 . IDENT_2 . METHOD_4 ( org . talend . components . IDENT_3 . IDENT_4 . METHOD_5 ( ) ) ; record . put ( 0 , INT_0 ) ; try { writer . write ( record ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( java . lang . Exception e ) { } props . IDENT_5 . setValue ( false ) ; when ( IDENT_6 . METHOD_6 ( ) ) . thenReturn ( props ) ; writer . METHOD_1 ( "test" ) ; writer . write ( record ) ; "<AssertPlaceHolder>" ; } close ( ) { if ( ! ( IDENT_7 ) ) { org . talend . components . IDENT_8 . runtime . writer . IDENT_9 . LOG . debug ( STRING_1 ) ; } rest = null ; IDENT_7 = false ; return result ; }
org . junit . Assert . assertNotNull ( writer . close ( ) )