X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=test%2Forg%2Fmxchange%2Fjcountry%2Fmodel%2Fdata%2FCountryDataObjectTest.java;h=35d41e2eeb33737df3ebcab0e73dad5c2e0ba28b;hb=9e48697f3e429def57b1e29c7a7f67f316cbcd4e;hp=9ecb7541fb39cb24d28e8d9be52d727ebd3a1da3;hpb=92e3bc373166ac6b0093451d5a4a0d787cc94a02;p=jcountry-core.git diff --git a/test/org/mxchange/jcountry/model/data/CountryDataObjectTest.java b/test/org/mxchange/jcountry/model/data/CountryDataObjectTest.java index 9ecb754..35d41e2 100644 --- a/test/org/mxchange/jcountry/model/data/CountryDataObjectTest.java +++ b/test/org/mxchange/jcountry/model/data/CountryDataObjectTest.java @@ -292,7 +292,7 @@ public class CountryDataObjectTest { } @Test (description = "Tests if Country.equals() returns false when a field has been changed to an other value", dataProvider = "same-country-provider") - public void testEqualsDifferentAbroadDialPrefix (final Country country1, final Country country2) { + public void testCountry1EqualsDifferentAbroadDialPrefix (final Country country1, final Country country2) { // First change countryAbroadDialPrefix to something else country1.setCountryAbroadDialPrefix("++"); //NOI18N Assert.assertFalse(country1.equals(country2)); @@ -300,7 +300,7 @@ public class CountryDataObjectTest { } @Test (description = "Tests if Country.equals() returns false when a field has been changed to an other value", dataProvider = "same-country-provider") - public void testEqualsDifferentCountryCode (final Country country1, final Country country2) { + public void testCountry1EqualsDifferentCountryCode (final Country country1, final Country country2) { // Next is countryCode country1.setCountryCode("XX"); //NOI18N Assert.assertFalse(country1.equals(country2)); @@ -308,7 +308,7 @@ public class CountryDataObjectTest { } @Test (description = "Tests if Country.equals() returns false when a field has been changed to an other value", dataProvider = "same-country-provider") - public void testEqualsDifferentCountryId (final Country country1, final Country country2) { + public void testCountry1EqualsDifferentCountryId (final Country country1, final Country country2) { // Next is countryId country1.setCountryId(1l); //NOI18N Assert.assertFalse(country1.equals(country2)); @@ -316,7 +316,7 @@ public class CountryDataObjectTest { } @Test (description = "Tests if Country.equals() returns false when a field has been changed to an other value", dataProvider = "same-country-provider") - public void testEqualsDifferentExternalDialPrefix (final Country country1, final Country country2) { + public void testCountry1EqualsDifferentExternalDialPrefix (final Country country1, final Country country2) { // Next is countryExternalDialPrefix country1.setCountryExternalDialPrefix("00"); //NOI18N Assert.assertFalse(country1.equals(country2)); @@ -324,7 +324,7 @@ public class CountryDataObjectTest { } @Test (description = "Tests if Country.equals() returns false when a field has been changed to an other value", dataProvider = "same-country-provider") - public void testEqualsDifferentI18nKey (final Country country1, final Country country2) { + public void testCountry1EqualsDifferentI18nKey (final Country country1, final Country country2) { // Next is countryI18nKey country1.setCountryI18nKey("COUNTRY_XX"); //NOI18N Assert.assertFalse(country1.equals(country2)); @@ -332,7 +332,7 @@ public class CountryDataObjectTest { } @Test (description = "Tests if Country.equals() returns false when a field has been changed to an other value", dataProvider = "same-country-provider") - public void testEqualsDifferentIsLocalDialPrefixRequired (final Country country1, final Country country2) { + public void testCountry1EqualsDifferentIsLocalDialPrefixRequired (final Country country1, final Country country2) { // Next is countryId country1.setCountryIsLocalPrefixRequired(Boolean.FALSE); Assert.assertFalse(country1.equals(country2)); @@ -340,7 +340,7 @@ public class CountryDataObjectTest { } @Test (description = "Tests if Country.equals() returns false when a field has been changed to an other value", dataProvider = "same-country-provider") - public void testEqualsDifferentPhoneCode (final Country country1, final Country country2) { + public void testCountry1EqualsDifferentPhoneCode (final Country country1, final Country country2) { // Next is countryId country1.setCountryPhoneCode(COUNTRY_PHONE_CODE0); Assert.assertFalse(country1.equals(country2)); @@ -349,19 +349,19 @@ public class CountryDataObjectTest { @Test (description = "Tests if Country.equals() returns false when a null reference is provided") @SuppressWarnings ("ObjectEqualsNull") - public void testEqualsNullReference () { + public void testCountry1EqualsNullReference () { final Country country = new CountryData(); Assert.assertFalse(country.equals(null)); } @Test (description = "Tests if Country.equals() returns false when an other object is provided") - public void testEqualsOtherObject () { + public void testCountry1EqualsOtherObject () { final Country country = new CountryData(); Assert.assertFalse(country.equals(new Object())); } @Test (description = "Tests if Country.equals() returns true when same instance is provided") - public void testEqualsSameInstance () { + public void testCountry1EqualsSameInstance () { final Country country = new CountryData(); Assert.assertTrue(country.equals(country)); }