@SuppressWarnings("unchecked")
Set<ComplexResourceKey<DiscoveredItemKey, DiscoveredItemKeyParams>> set =
(Set<ComplexResourceKey<DiscoveredItemKey, DiscoveredItemKeyParams>>)
Matchers.eqCollectionUnordered(Sets.newHashSet(keyA, keyB));
discoveredItemsResource.batchGet(
set,
EasyMock.<Callback<Map<ComplexResourceKey<DiscoveredItemKey, DiscoveredItemKeyParams>, DiscoveredItem>>>anyObject());
EasyMock.expectLastCall().andAnswer(new IAnswer<Object>() {
@Override