source: josm/trunk/test/unit/org/openstreetmap/josm/tools/PairTest.java@ 11974

Last change on this file since 11974 was 10758, checked in by Don-vip, 8 years ago

sonar - squid:S3578 - Test methods should comply with a naming convention

  • Property svn:eol-style set to native
File size: 503 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.tools;
3
4import org.junit.Test;
5
6import nl.jqno.equalsverifier.EqualsVerifier;
7import nl.jqno.equalsverifier.Warning;
8
9/**
10 * Unit tests of {@link Pair} class.
11 */
12public class PairTest {
13
14 /**
15 * Unit test of methods {@link Pair#equals} and {@link Pair#hashCode}.
16 */
17 @Test
18 public void testEqualsContract() {
19 EqualsVerifier.forClass(Pair.class).suppress(Warning.NONFINAL_FIELDS).verify();
20 }
21}
Note: See TracBrowser for help on using the repository browser.