METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( METHOD_2 ( ) ) ) . thenReturn ( null ) ; consumer = create ( ) ; java . util . List < org . apache . IDENT_1 . IDENT_2 > events = consumer . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_1 ( METHOD_2 ( ) ) ; METHOD_4 ( IDENT_0 ) ; } METHOD_3 ( ) { com . google . common . base . IDENT_3 . METHOD_5 ( ( ( queue ) != null ) , STRING_0 ) ; IDENT_4 . METHOD_6 ( ) ; try { org . apache . IDENT_1 . IDENT_2 e = queue . METHOD_7 ( IDENT_5 , TimeUnit . IDENT_6 ) ; IDENT_4 . METHOD_8 ( 1 ) ; IDENT_4 . METHOD_9 ( queue . size ( ) ) ; return e ; } catch ( java . lang . IDENT_7 ex ) { throw new org . apache . IDENT_1 . METHOD_10 ( STRING_1 , ex ) ; } }
org . junit . Assert . assertEquals ( 0 , events . size ( ) )