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