@Test
public void testPortRanges() {

	Offer offer = new Offer(offer(resources(ports(range(8080, 8081))), attrs()));
	Assert.assertEquals(Collections.singletonList(range(8080, 8081)), ranges(offer.portRanges()));
}