@Test
public void testEquals() {

    final CSVFormat right = CSVFormat.DEFAULT;
    final CSVFormat left = copy(right);
    assertFalse(right.equals(null));
    assertFalse(right.equals("A String Instance"));
    assertEquals(right, right);
    assertEquals(right, left);
    assertEquals(left, right);
    assertEquals(right.hashCode(), right.hashCode());
    assertEquals(right.hashCode(), left.hashCode());
}