@Test(expected = IllegalArgumentException.class) public void testSetParametersThrowsIllegalArgumentExceptionWithNoParameters() { SpriteAreaProvider areaProvider = new SpriteAreaProvider(); areaProvider.setParameters(null); }
@Override public void setParameters(String parameters) { String[] args = getArguments(parameters); m_width = Integer.valueOf(args[0]); m_height = Integer.valueOf(args[1]); m_index = Integer.valueOf(args[2]); }
SpriteAreaProvider implements AreaProvider { @Override public void setParameters(String parameters) { String[] args = getArguments(parameters); m_width = Integer.valueOf(args[0]); m_height = Integer.valueOf(args[1]); m_index = Integer.valueOf(args[2]); } }
SpriteAreaProvider implements AreaProvider { @Override public void setParameters(String parameters) { String[] args = getArguments(parameters); m_width = Integer.valueOf(args[0]); m_height = Integer.valueOf(args[1]); m_index = Integer.valueOf(args[2]); }  }
SpriteAreaProvider implements AreaProvider { @Override public void setParameters(String parameters) { String[] args = getArguments(parameters); m_width = Integer.valueOf(args[0]); m_height = Integer.valueOf(args[1]); m_index = Integer.valueOf(args[2]); }  @Override void setParameters(String parameters); @Nonnull @Override Box getSourceArea(@Nonnull RenderImage renderImage); @Nonnull @Override Size getNativeSize(@Nonnull NiftyImage image); }
SpriteAreaProvider implements AreaProvider { @Override public void setParameters(String parameters) { String[] args = getArguments(parameters); m_width = Integer.valueOf(args[0]); m_height = Integer.valueOf(args[1]); m_index = Integer.valueOf(args[2]); }  @Override void setParameters(String parameters); @Nonnull @Override Box getSourceArea(@Nonnull RenderImage renderImage); @Nonnull @Override Size getNativeSize(@Nonnull NiftyImage image);  }