Class PhoneNumberBuilderTest

java.lang.Object
org.apache.directory.scim.spec.resources.PhoneNumberBuilderTest

public class PhoneNumberBuilderTest extends Object
  • Constructor Details

    • PhoneNumberBuilderTest

      public PhoneNumberBuilderTest()
  • Method Details

    • test_invalid_subscriberNumber_for_LocalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getInvalidSubscriberNumbers") public void test_invalid_subscriberNumber_for_LocalPhoneNumberBuilder(String invalidSubscriberNumber) throws Exception
      Throws:
      Exception
    • test_invalid_padded_subscriberNumber_for_LocalPhoneNumberBuilder

      @Test public void test_invalid_padded_subscriberNumber_for_LocalPhoneNumberBuilder() throws Exception
      Throws:
      Exception
    • test_valid_subscriberNumber_for_LocalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getValidSubscriberNumbers") public void test_valid_subscriberNumber_for_LocalPhoneNumberBuilder(String validSubscriberNumber) throws Exception
      Throws:
      Exception
    • test_invalid_countryCode_for_LocalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getInvalidCountryCodes") public void test_invalid_countryCode_for_LocalPhoneNumberBuilder(String invalidCountryCode) throws Exception
      Throws:
      Exception
    • test_valid_countryCode_for_LocalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getValidCountryCodes") public void test_valid_countryCode_for_LocalPhoneNumberBuilder(String validCountryCode) throws Exception
      Throws:
      Exception
    • test_invalid_areaCode_for_LocalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getInvalidAreaCodes") public void test_invalid_areaCode_for_LocalPhoneNumberBuilder(String invalidAreaCode) throws Exception
      Throws:
      Exception
    • test_invalid_padded_areaCode_for_LocalPhoneNumberBuilder

      @Test public void test_invalid_padded_areaCode_for_LocalPhoneNumberBuilder() throws Exception
      Throws:
      Exception
    • test_areaCode_can_be_null_for_LocalPhoneNumberBuilder

      @Test public void test_areaCode_can_be_null_for_LocalPhoneNumberBuilder() throws Exception
      Throws:
      Exception
    • test_valid_areaCode_for_LocalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getValidAreaCodes") public void test_valid_areaCode_for_LocalPhoneNumberBuilder(String validAreaCode) throws Exception
      Throws:
      Exception
    • test_invalid_globalNumber_for_GlobalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getInvalidGlobalNumbers") public void test_invalid_globalNumber_for_GlobalPhoneNumberBuilder(String invalidGlobalNumber) throws Exception
      Throws:
      Exception
    • test_invalid_padded_gloablNumber_for_GlobalPhoneNumberBuilder

      @Test public void test_invalid_padded_gloablNumber_for_GlobalPhoneNumberBuilder() throws Exception
      Throws:
      Exception
    • test_valid_globalNumber_for_GlobalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getValidGlobalNumbers") public void test_valid_globalNumber_for_GlobalPhoneNumberBuilder(String validGlobalNumber) throws Exception
      Throws:
      Exception
    • test_valid_noPlusSymbol_globalNumber_for_GlobalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getValidGlobalNumbers") public void test_valid_noPlusSymbol_globalNumber_for_GlobalPhoneNumberBuilder(String validGlobalNumber) throws Exception
      Throws:
      Exception
    • test_invalid_domainName_for_LocalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getInvalidDomainNames") public void test_invalid_domainName_for_LocalPhoneNumberBuilder(String invalidDomainName) throws Exception
      Throws:
      Exception
    • test_invalid_padded_domainName_for_LocalPhoneNumberBuilder

      @Test public void test_invalid_padded_domainName_for_LocalPhoneNumberBuilder() throws Exception
      Throws:
      Exception
    • test_no_domainName_coutryCode_or_areaCode_for_LocalPhoneNumberBuilder

      @Test public void test_no_domainName_coutryCode_or_areaCode_for_LocalPhoneNumberBuilder() throws Exception
      Throws:
      Exception
    • test_valid_domainName_for_LocalPhoneNumberBuilder

      @ParameterizedTest @MethodSource("getValidDomainNames") public void test_valid_domainName_for_LocalPhoneNumberBuilder(String validDomainName) throws Exception
      Throws:
      Exception
    • test_extension_subAddress_conflict_for_GlobalPhoneNumberBuilder

      @Test public void test_extension_subAddress_conflict_for_GlobalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_extension_subAddress_conflict_for_LocalPhoneNumberBuilder

      @Test public void test_extension_subAddress_conflict_for_LocalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_extension_for_GlobalPhoneNumberBuilder

      @Test public void test_extension_for_GlobalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_extension_for_LocalPhoneNumberBuilder

      @Test public void test_extension_for_LocalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_subAddress_for_GlobalPhoneNumberBuilder

      @Test public void test_subAddress_for_GlobalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_subAddress_for_LocalPhoneNumberBuilder

      @Test public void test_subAddress_for_LocalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_adding_params_for_GlobalPhoneNumberBuilder

      @Test public void test_adding_params_for_GlobalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_adding_params_for_LocalPhoneNumberBuilder

      @Test public void test_adding_params_for_LocalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_adding_invalid_param_to_GlobalPhoneNumberBuilder

      @Test public void test_adding_invalid_param_to_GlobalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_adding_invalid_param_to_LocalPhoneNumberBuilder

      @Test public void test_adding_invalid_param_to_LocalPhoneNumberBuilder() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_valid_subAddress

      @Test public void test_valid_subAddress() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_invalid_subAddress

      @Test public void test_invalid_subAddress()
    • test_valid_extension

      @ParameterizedTest @MethodSource("getValidExtensions") public void test_valid_extension(String validExtension) throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_invalid_extension

      @ParameterizedTest @MethodSource("getInvalidExtensions") public void test_invalid_extension(String invalidExtension) throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_paramsToLowerCase

      @Test public void test_paramsToLowerCase() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsIgnoreCaseAndOrderParams_not_equal

      @Test public void test_equalsIgnoreCaseAndOrderParams_not_equal() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsIgnoreCaseAndOrderParams_equal

      @Test public void test_equalsIgnoreCaseAndOrderParams_equal() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsAndHashCode_globalNumber

      @Test public void test_equalsAndHashCode_globalNumber() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsAndHashCode_number

      @Test public void test_equalsAndHashCode_number() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsAndHashCode_extension

      @Test public void test_equalsAndHashCode_extension() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsAndHashCode_subAddress

      @Test public void test_equalsAndHashCode_subAddress() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsAndHashCode_phoneContext_as_domainName

      @Test public void test_equalsAndHashCode_phoneContext_as_domainName() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsAndHashCode_phoneContext_as_digits

      @Test public void test_equalsAndHashCode_phoneContext_as_digits() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsAndHashCode_params

      @Test public void test_equalsAndHashCode_params() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsAndHashCode_phoneContext_primary_flag

      @Test public void test_equalsAndHashCode_phoneContext_primary_flag() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
    • test_equalsAndHashCode_phoneContext_type

      @Test public void test_equalsAndHashCode_phoneContext_type() throws org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException
      Throws:
      org.apache.directory.scim.spec.phonenumber.PhoneNumberParseException