@Test public final void testGrow() { sut.grow(AVAILABLE_ZONES, gadgets); assertEquals("Gadgets changed size.", gadgetsClone.size(), gadgets.size()); for (int i = 0; i < gadgetsClone.size(); i++) { assertEquals("Gadget zone changed.", gadgetsClone.get(i).getZoneNumber(), gadgets.get(i).getZoneNumber()); assertEquals("Gadget index changed.", gadgetsClone.get(i).getZoneIndex(), gadgets.get(i).getZoneIndex()); } }
public final void grow(final int availableZones, final List<Gadget> gadgets) { }
NoGrowLayoutStrategy implements GrowLayoutStrategy { public final void grow(final int availableZones, final List<Gadget> gadgets) { } }
NoGrowLayoutStrategy implements GrowLayoutStrategy { public final void grow(final int availableZones, final List<Gadget> gadgets) { }  }
NoGrowLayoutStrategy implements GrowLayoutStrategy { public final void grow(final int availableZones, final List<Gadget> gadgets) { }  final void grow(final int availableZones,
            final List<Gadget> gadgets); }
NoGrowLayoutStrategy implements GrowLayoutStrategy { public final void grow(final int availableZones, final List<Gadget> gadgets) { }  final void grow(final int availableZones,
            final List<Gadget> gadgets);  }