### Question:
Damages { public void setDamages(int min, int max) { this.min = UtilMath.clamp(min, 0, Integer.MAX_VALUE); this.max = UtilMath.clamp(max, this.min, Integer.MAX_VALUE); } Damages();  Damages(int min, int max); void setMin(int min); void setMax(int max); void setDamages(int min, int max); void setDamages(Range range); int getRandom(); int getLast(); int getMin(); int getMax(); Range getDamages(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString();  }### Answer:
@Test void testSetDamages() { final Damages damages = new Damages(); damages.setDamages(1, 5); assertEquals(1, damages.getMin()); assertEquals(5, damages.getMax()); }