@SuppressWarnings("deprecation") @Test public void testSetDuration() { System.out.println("setDuration"); TimePeriod duration = null; VMProjectedWorkloadElement instance = new VMProjectedWorkloadElement(); assertTrue(instance.getDuration() == null); instance.setDuration(duration); instance.setDuration(new TimePeriod(time1, time2)); assertFalse(instance.getDuration() == null); }
public void setDuration(TimePeriod duration) { this.duration = duration; }
VMProjectedWorkloadElement implements Comparable<Object> { public void setDuration(TimePeriod duration) { this.duration = duration; } }
VMProjectedWorkloadElement implements Comparable<Object> { public void setDuration(TimePeriod duration) { this.duration = duration; }  }
VMProjectedWorkloadElement implements Comparable<Object> { public void setDuration(TimePeriod duration) { this.duration = duration; }  Calendar getStartTime(); Calendar getEndTime(); boolean isLongTermDeployment(); TimePeriod getDuration(); void setDuration(TimePeriod duration); @Override int compareTo(Object o); }
VMProjectedWorkloadElement implements Comparable<Object> { public void setDuration(TimePeriod duration) { this.duration = duration; }  Calendar getStartTime(); Calendar getEndTime(); boolean isLongTermDeployment(); TimePeriod getDuration(); void setDuration(TimePeriod duration); @Override int compareTo(Object o); public TimePeriod duration; }