@Test
public void testAddOAuth2Authentication_4() throws Exception {
final BasicAuthenticationHandler fixture = new BasicAuthenticationHandler();
final HttpRequest request = new HttpRequest(Uri.fromJavaUri(new URI("")));
final OAuth2Accessor accessor = MockUtils.getOAuth2Accessor_Code();
final OAuth2HandlerError result = fixture.addOAuth2Authentication(request, accessor);
Assert.assertNull(result);