### Question:
TweenOperation extends TemporalOperation { public TweenOperation<T> setup(Interpolation interpolation, float duration) { Preconditions.checkArgument(duration != 0, "Duration cannot be zero."); this.interpolation = Preconditions.checkNotNull(interpolation); this.duration = duration; return this; } TweenOperation(Class<T> type); @Override void act(float percentage, Entity e); TweenOperation<T> setup(Interpolation interpolation, float duration); @Override void reset(); @SuppressWarnings("unchecked") final T getFrom(); @SuppressWarnings("unchecked") final T getTo();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void illegal_duration_exception() { step.setup(Interpolation.linear, 0); }