mirror of https://github.com/apache/jclouds.git
fixed bad test
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1976 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
13f3bc422f
commit
124bf457f1
|
@ -14,7 +14,7 @@ import org.jclouds.rest.internal.GeneratedHttpRequest;
|
|||
import org.jclouds.rest.internal.RuntimeDelegateImpl;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import com.google.common.collect.ImmutableMultimap;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
|
||||
/**
|
||||
* Tests behavior of {@code BindMetadataToQueryParams}
|
||||
|
@ -41,7 +41,7 @@ public class BindMetadataToQueryParamsTest {
|
|||
GeneratedHttpRequest<?> request = createMock(GeneratedHttpRequest.class);
|
||||
request.replaceQueryParam("metadata", "imagename:foo", "serverid:2");
|
||||
replay(request);
|
||||
binder.bindToRequest(request, ImmutableMultimap.of("imageName", "foo", "serverId", "2"));
|
||||
binder.bindToRequest(request, ImmutableMap.of("imageName", "foo", "serverId", "2"));
|
||||
}
|
||||
|
||||
@Test(expectedExceptions = { NullPointerException.class, IllegalStateException.class })
|
||||
|
|
Loading…
Reference in New Issue