@Test
public void testEquals() {

    Margins eq1 = new Margins(0, 1, 10, 9);
    Margins eq2 = new Margins(0, 1, 10, 9);
    Margins eq3 = new Margins(0, 1, 10, 9);
    Margins diff = new Margins(1, 1, 10, 9);
    TestUtils.testEqualsAndHashCodes(eq1, eq2, eq3, diff);
}