### Question:
BasicCredentialsProvider implements CredentialsStore { @Override public Credentials getCredentials(final AuthScope authScope, final HttpContext httpContext) { Args.notNull(authScope, "Authentication scope"); return matchCredentials(this.credMap, authScope); } BasicCredentialsProvider(); @Override void setCredentials(
            final AuthScope authScope,
            final Credentials credentials); @Override Credentials getCredentials(final AuthScope authScope,
                                      final HttpContext httpContext); @Override void clear(); @Override String toString();  }### Answer:
@Test public void testBasicCredentialsProviderNoCredentials() { final BasicCredentialsProvider state = new BasicCredentialsProvider(); Assert.assertEquals(null, state.getCredentials(BOGUS, null)); }