// Path: src/test/java/org/killbill/billing/test/helpers/TestUtil.java
// public static String shortIdentityToString(Object obj) {
//     if (obj == null) {
//         return null;
//     }
//     return obj.getClass().getSimpleName() + '@' + toHexString(identityHashCode(obj));
// }


import static java.util.Locale.ENGLISH;
import static java.util.Locale.FRENCH;
import static org.killbill.billing.test.helpers.TestUtil.shortIdentityToString;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
        assertEquals(new Country(legalCountryCode).getCode(), legalCountryCode);
    }

    @Test(groups = "fast")
    public void shouldReturnLocalizedName() {
        // Expect
        assertEquals(US.computeName(FRENCH), "Etats-Unis");
        assertEquals(FR.computeName(ENGLISH), "France");
    }

    @Test(groups = "fast")
    public void shouldEnforceEquality() {
        // Expect
        assertFalse(FR.equals(null));
        assertTrue(FR.equals(FR));
        assertFalse(FR.equals(new Object()));
        assertTrue(FR.equals(FR));
        assertFalse(FR.equals(US));
    }

    @Test(groups = "fast")
    public void shouldComputeHashCode() {
        // Expect
        assertEquals(FR.hashCode(), 2881);
        assertEquals(US.hashCode(), 3347);
    }

    @Test(groups = "fast")
    public void shouldOutputCountryCode() {
        // Expect
// Path: src/test/java/org/killbill/billing/test/helpers/TestUtil.java
// public static String shortIdentityToString(Object obj) {
//     if (obj == null) {
//         return null;
//     }
//     return obj.getClass().getSimpleName() + '@' + toHexString(identityHashCode(obj));
// }


// Path: src/test/java/org/killbill/billing/plugin/simpletax/internal/TestCountry.java
import static java.util.Locale.ENGLISH;
import static java.util.Locale.FRENCH;
import static org.killbill.billing.test.helpers.TestUtil.shortIdentityToString;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

        assertEquals(new Country(legalCountryCode).getCode(), legalCountryCode);
    }

    @Test(groups = "fast")
    public void shouldReturnLocalizedName() {
        // Expect
        assertEquals(US.computeName(FRENCH), "Etats-Unis");
        assertEquals(FR.computeName(ENGLISH), "France");
    }

    @Test(groups = "fast")
    public void shouldEnforceEquality() {
        // Expect
        assertFalse(FR.equals(null));
        assertTrue(FR.equals(FR));
        assertFalse(FR.equals(new Object()));
        assertTrue(FR.equals(FR));
        assertFalse(FR.equals(US));
    }

    @Test(groups = "fast")
    public void shouldComputeHashCode() {
        // Expect
        assertEquals(FR.hashCode(), 2881);
        assertEquals(US.hashCode(), 3347);
    }

    @Test(groups = "fast")
    public void shouldOutputCountryCode() {
        // Expect
        assertEquals(FR.toString(), shortIdentityToString(FR) + "[code=FR]");