mockProduct(productId, "some prod", "2");
Pool pool1 = TestUtil.createPool(owner, prod, 10);
pool1.setId("1234");
Pool pool2 = TestUtil.createPool(owner, prod, 10);
pool2.setId("4321");
PoolQuantity pq1 = new PoolQuantity(pool1, 5);
PoolQuantity pq2 = new PoolQuantity(pool2, 5);
assertTrue(pq1.compareTo(pq2) != 0);
assertEquals(pq1.compareTo(pq2), -pq2.compareTo(pq1));
}