ActJobNodeBean extends JobNodeBean { public void setVmBeans(List<VMNodeBean> vmBeans) { this.vmBeans = vmBeans; } ActJobNodeBean(JobInstance job, boolean hasRights, FastDateFormat fmt);  ActJobNodeBean(String jobId, CloudVmStatusContainer container, FastDateFormat fmt); @Override void reCalculate(); String getJobDetails(); @Override boolean isDeleteable(); @Override boolean isJobNode(); List<VMNodeBean> getVmBeans(); void setVmBeans(List<VMNodeBean> vmBeans); void addVMBean(VMNodeBean vmNode); @Override List<VMNodeBean> getSubNodes(); @Override boolean hasSubNodes(); @Override boolean isKillable(); @Override boolean isStopable(); @Override boolean isRunnable(); @Override boolean isPausable(); @Override boolean isRampPausable(); @Override String getType();  }
@Test public void testSetVmBeans_1() throws Exception { Workload workload = new Workload(); workload.setJobConfiguration(new JobConfiguration()); JobInstance jobInstance = new JobInstance(workload, ""); jobInstance.setEndTime(new Date()); jobInstance.setJobDetails(""); jobInstance.setTotalVirtualUsers(1); jobInstance.setStatus(JobQueueStatus.Aborted); jobInstance.setStartTime(new Date()); ActJobNodeBean fixture = new ActJobNodeBean(jobInstance, true, FastDateFormat.getDateTimeInstance(FastDateFormat.MEDIUM, FastDateFormat.MEDIUM)); fixture.setVmBeans(new LinkedList()); List<VMNodeBean> vmBeans = new LinkedList(); fixture.setVmBeans(vmBeans); }