  @Test
  public void testHeaderWithoutBasicPrefix() {

    when(request.getHeader("Authorization")).thenReturn("user:password");
    final Credentials<UserPasswordToken> extractedCredentials = parser.extractCredentials(request);
    assertNull(extractedCredentials);
  }