Pool pool2 = TestUtil.createPool(owner, prod, 10);
pool2.setId(null);
PoolQuantity pq1 = new PoolQuantity(pool1, 5);
PoolQuantity pq2 = new PoolQuantity(pool2, 5);
assertTrue(pq1.compareTo(pq2) != 0);
assertEquals(pq1.compareTo(pq2), -pq2.compareTo(pq1));
}
@Test
public void autobindForPhysicalSocketPicksBestFitStack() {
List<Pool> pools = createSocketPool(1, 100, "1");