@Test
public void testParseAuthorizationPositive() throws Exception {

    AuthorizationHeaderParser.Result result =
            AuthorizationHeaderParser.parse("Basic cm9sYW5kOnMhY3IhdA==");
    assertEquals(result.getUser(),"roland");
    assertEquals(result.getPassword(),"s!cr!t");
    assertTrue(result.isValid());
}