/** * Tests the ISO 19115:2003 {@link DefaultContact#setPhone(Telephone)} method, * then query with both the new and the deprecated methods. */ @Test @DependsOnMethod("testSetPhones") public void testSetPhone() { testSetPhone(false); }
/** * Same as {@link #testSetPhone()}, but hiding to {@link DefaultContact} the fact that we * are using a SIS implementation of {@code Telephone}. This will test an other code path. */ @Test @DependsOnMethod("testSetPhones") public void testSetNonSISPhone() { testSetPhone(true); }