product1.getId(), false, null, adminPrincipal, null);
}
@Test
public void testListConsumerFiltering() {
setupPrincipal(new ConsumerPrincipal(passConsumer));
List<Pool> pools = poolResource.list(null, passConsumer.getUuid(), null, false,
null, adminPrincipal, null);
assertEquals(2, pools.size());
verify(attrUtil, times(2)).buildCalculatedAttributes(any(Pool.class),