METHOD_0 ( ) { final io . vertx . IDENT_0 . messages . IDENT_1 msg = mock ( io . vertx . IDENT_0 . messages . IDENT_1 . class ) ; when ( msg . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; final org . eclipse . IDENT_2 . auth . IDENT_3 device = new org . eclipse . IDENT_2 . auth . METHOD_2 ( STRING_1 , STRING_2 ) ; final org . eclipse . IDENT_2 . adapter . IDENT_0 . IDENT_4 context = org . eclipse . IDENT_2 . adapter . IDENT_0 . IDENT_4 . METHOD_3 ( msg , mock ( io . vertx . IDENT_0 . IDENT_5 . class ) , device ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { if ( ( IDENT_6 ) != null ) { return IDENT_6 . METHOD_5 ( ) ; } else if ( ( IDENT_7 ) != null ) { return IDENT_7 . METHOD_5 ( ) ; } else { return null ; } }
org . junit . Assert . assertThat ( context . METHOD_4 ( ) , org . hamcrest . CoreMatchers . is ( STRING_1 ) )