METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . jdbc . IDENT_2 IDENT_3 = mock ( com . IDENT_0 . IDENT_1 . jdbc . IDENT_2 . class ) ; com . IDENT_0 . IDENT_1 . api . jdbc . IDENT_4 connection = mock ( com . IDENT_0 . IDENT_1 . api . jdbc . IDENT_4 . class ) ; java . sql . IDENT_5 statement = mock ( java . sql . IDENT_5 . class ) ; org . apache . camel . component . IDENT_6 . IDENT_7 IDENT_8 = mock ( org . apache . camel . component . IDENT_6 . IDENT_7 . class ) ; org . apache . camel . IDENT_9 processor = mock ( org . apache . camel . IDENT_9 . class ) ; when ( IDENT_8 . METHOD_1 ( ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( connection ) ; when ( connection . METHOD_3 ( STRING_0 ) ) . thenReturn ( statement ) ; when ( IDENT_8 . METHOD_4 ( ) ) . thenReturn ( STRING_1 ) ; org . apache . camel . component . IDENT_6 . IDENT_10 consumer = new org . apache . camel . component . IDENT_6 . METHOD_5 ( IDENT_8 , processor ) ; consumer . start ( ) ; verify ( connection ) . METHOD_6 ( STRING_1 , STRING_1 , consumer ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return ( IDENT_11 ) >= 0 ; }
org . junit . Assert . assertTrue ( consumer . METHOD_7 ( ) )