any(CallerType.class))).thenReturn(result);
when(result.isSuccessful()).thenReturn(true);
List<PoolQuantity> bestPools = new ArrayList<PoolQuantity>();
bestPools.add(new PoolQuantity(pool1, 1));
when(autobindRules.selectBestPools(any(Consumer.class), any(String[].class),
any(List.class), any(ComplianceStatus.class), any(String.class),
any(Set.class), eq(false)))
.thenReturn(bestPools);