@Test
void basicAuthWithoutRealm()
{

    InternalAuthToken basic = (InternalAuthToken) basic( "foo", "bar" );
    Map<String,Value> map = basic.toMap();
    assertThat( map.size(), equalTo( 3 ) );
    assertThat( map.get( "scheme" ), equalTo( (Value) new StringValue( "basic" ) ) );
    assertThat( map.get( "principal" ), equalTo( (Value) new StringValue( "foo" ) ) );
    assertThat( map.get( "credentials" ), equalTo( (Value) new StringValue( "bar" ) ) );
}