package snowpeople; import painter.SPainter; import javax.swing.*; import java.util.ArrayList; public class SnowFamilyTester { //5. As before, create a tester class to make sure your class is working as it should. //6. Add a method, called paint, to the SnowFamily class. It will take one argument, an SPainter. This method should make calls to the paint method in each of the snow people // stored in the ArrayList. Paint each family member side-by-side. //7. Test your SnowFamily class by enhancing your tests from before. You’ll need to make an SPainter to pass to the SnowFamily‘s paint method. If it doesn't work as you expect, // go back and fix it! public SnowFamilyTester(){ SnowFamily k = new SnowFamily(2); k.paint(new SPainter("Snow family", 1000, 1000)); } public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { new SnowFamilyTester(); } }); } }