void function ( ) { String loc0 = "srini_string" ; mThrown . expect ( RuntimeException . class ) ; mThrown . expectMessage ( loc0 + "srini_string" ) ; new CustomAuthenticationProvider ( loc0 ) ; }
tests the customauthenticationprovider #customauthenticationprovider string constructor to throw an exception when the class can not be found . concode_field_sep ExpectedException mThrown concode_field_sep void authenticate concode_elem_sep void mockCustomProvider concode_elem_sep void classNotProvider