@Test
public void testCountSlots() {
expectStatExport();
expectGetSlots(
new MachineResource(SMALL, false),
new MachineResource(SMALL, false),
new MachineResource(LARGE, false),
new MachineResource(ResourceAggregates.scale(LARGE, 4), false),
new MachineResource(IResourceAggregate.build(new ResourceAggregate(1, 1, 1)), false),
new MachineResource(SMALL, true),
new MachineResource(SMALL, true),
new MachineResource(ResourceAggregates.scale(SMALL, 2), true));
control.replay();
slotCounter.run();
assertEquals(22, smallCounter.get());