Range { @ConfigurationProperty(name = "start", label = "Start", description = "The start of the range") public void setStart(int start) { this.start = start; } Range();  Range(int start, int end);  Range(int start, int end, Range exclude);  Range(int start, int end, List<Range> excludes);  Range(Range range); boolean contains(int value); int[] getRangeValues(); int getStart(); @ConfigurationProperty(name = "start", label = "Start", description = "The start of the range") void setStart(int start); int getEnd(); @ConfigurationProperty(name = "end", label = "End", description = "The end of the range") void setEnd(int end); void addExclude(Range exclude); void removeExclude(Range exclude); List<Range> getExcludes(); @ConfigurationProperty(name = "excludes", label = "Excludes Ranges", description = "The ranges the exclude from this range", required = false) void setExcludes(List<Range> excludes); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testSetStart() { range.setStart(2); assertEquals(2, range.getStart()); }