@Test
public void testGetProviderScheme() throws URISyntaxException {

    InstanceProviderManager provider = new InstanceProviderManager(null, null, null);
    URI uri = new URI("https://test.athenz2.com/");
    assertEquals(provider.getProviderScheme(uri), ProviderScheme.HTTPS);
    
    uri = new URI("class://com.yahoo.athenz.AWSProvider");
    assertEquals(provider.getProviderScheme(uri), ProviderScheme.CLASS);
    
    uri = new URI("http://test.athenz2.com/");
    assertEquals(provider.getProviderScheme(uri), ProviderScheme.UNKNOWN);
    
    uri = new URI("ftp://test.athenz2.com/");
    assertEquals(provider.getProviderScheme(uri), ProviderScheme.UNKNOWN);
    
    uri = new URI("test.athenz2.com/");
    assertEquals(provider.getProviderScheme(uri), ProviderScheme.UNKNOWN);
}