### Question:
FramesConfig { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + horizontalFrames; result = prime * result + verticalFrames; result = prime * result + offsetX; result = prime * result + offsetY; return result; } FramesConfig(int horizontalFrames, int verticalFrames, int offsetX, int offsetY); static FramesConfig imports(Configurer configurer); static FramesConfig imports(Xml root); static Xml exports(FramesConfig config); int getHorizontal(); int getVertical(); int getOffsetX(); int getOffsetY(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_FRAMES; static final String ATT_HORIZONTAL; static final String ATT_VERTICAL; static final String ATT_OFFSET_X; static final String ATT_OFFSET_Y; }### Answer:
@Test void testHashCode() { final FramesConfig hash = new FramesConfig(1, 2, 3, 4); assertHashEquals(hash, new FramesConfig(1, 2, 3, 4)); assertHashNotEquals(hash, new FramesConfig(0, 2, 3, 4)); assertHashNotEquals(hash, new FramesConfig(1, 0, 3, 4)); assertHashNotEquals(hash, new FramesConfig(1, 2, 0, 4)); assertHashNotEquals(hash, new FramesConfig(1, 2, 3, 0)); }