### Question:
RepeatStrategy implements RenderStrategy { @Override public void setParameters(@Nullable String parameters) { if (parameters != null) { throw new IllegalArgumentException("Trying to parse [" + this.getClass().getName() + "] : expected no parameters, found [" + parameters + "]."); } }  @Override void setParameters(@Nullable String parameters); @Override void render(
      @Nonnull RenderDevice renderDevice, @Nonnull RenderImage image, @Nonnull Box sourceArea, int x, int y, int width,
      int height, @Nonnull Color color, float scale);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testSetParametersThrowsIllegalArgumentExceptionWithParameters() { RepeatStrategy repeatStrategy = new RepeatStrategy(); repeatStrategy.setParameters(""); }