mirror of https://github.com/apache/jclouds.git
allowed regions to be unspecified so that untargetted apis can be tested
This commit is contained in:
parent
522d94f5ec
commit
c22f5afd32
|
@ -62,8 +62,7 @@ public class RegionToEndpointOrProviderIfNullTest {
|
||||||
fn.apply("2");
|
fn.apply("2");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(expectedExceptions = IllegalArgumentException.class)
|
public void testOkIfNoRegionMappings() {
|
||||||
public void testMustHaveEndpoints() {
|
|
||||||
new RegionToEndpointOrProviderIfNull("leader", URI.create("http://leader"), ImmutableMap.<String, URI> of());
|
new RegionToEndpointOrProviderIfNull("leader", URI.create("http://leader"), ImmutableMap.<String, URI> of());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue