@Test public void testSetGetPanels() { assertEquals(equipment.getPanels(), panels); ArrayList<Panel> newPanels = new ArrayList<Panel>(); equipment.setPanels(newPanels); assertEquals(equipment.getPanels(), newPanels); }
@Test public void testSetGetInverters() { assertEquals(equipment.getInverters(), inverters); ArrayList<Inverter> newInverters = new ArrayList<Inverter>(); equipment.setInverters(newInverters); assertEquals(equipment.getPanels(), newInverters); }