METHOD_0 ( ) { org . eclipse . IDENT_0 . binding . IDENT_1 . handler . IDENT_2 connection = METHOD_1 ( new org . eclipse . IDENT_0 . binding . IDENT_1 . handler . METHOD_2 ( STRING_0 , INT_0 , false , STRING_1 ) ) ; doReturn ( connection ) . when ( service ) . METHOD_3 ( eq ( handler . IDENT_3 ) ) ; verify ( IDENT_4 , times ( 0 ) ) . METHOD_4 ( any ( ) , any ( ) ) ; handler . METHOD_0 ( handler . IDENT_3 , connection ) ; "<AssertPlaceHolder>" ; verify ( connection ) . start ( ) ; verify ( IDENT_4 , times ( 3 ) ) . METHOD_4 ( any ( ) , any ( ) ) ; } METHOD_0 ( java . lang . String , org . eclipse . IDENT_0 . io . transport . IDENT_1 . IDENT_5 ) { if ( ( ! ( IDENT_6 . equals ( IDENT_3 ) ) ) || ( ( connection ) == IDENT_7 ) ) { return ; } this . connection = IDENT_7 ; super . METHOD_5 ( ) ; }
org . junit . Assert . assertThat ( handler . connection , org . hamcrest . CoreMatchers . is ( connection ) )