@Test(expected = IllegalArgumentException.class) public void testSetParametersThrowsIllegalArgumentExceptionWithParameters() { ResizeStrategy resizeStrategy = new ResizeStrategy(); resizeStrategy.setParameters(""); }
@Override public void setParameters(@Nullable String parameters) { if (parameters != null) { throw new IllegalArgumentException("Trying to parse [" + this.getClass().getName() + "] : expected no parameters, found [" + parameters + "]."); } }
ResizeStrategy 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 + "]."); } } }
ResizeStrategy 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 + "]."); } }  }
ResizeStrategy 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); }
ResizeStrategy 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);  }