4243444546474849
public class TelephoneNumberNormalizerTest { @Test public void testTelephoneNumberNormalizerNull() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "", normalizer.normalize( ( String ) null ) ); }
5051525354555657
@Test public void testTelephoneNumberNormalizerEmpty() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "", normalizer.normalize( "" ) ); }
5859606162636465
@Test public void testTelephoneNumberNormalizerOneSpace() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "", normalizer.normalize( " " ) ); }
6667686970717273
@Test public void testTelephoneNumberNormalizerTwoSpaces() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "", normalizer.normalize( " " ) ); }
7475767778798081
@Test public void testTelephoneNumberNormalizerNSpaces() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "", normalizer.normalize( " " ) ); }
8283848586878889
@Test public void testTelephoneNumberNormalizerOneHyphen() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "", normalizer.normalize( "-" ) ); }
9091929394959697
@Test public void testTelephoneNumberNormalizerTwoHyphen() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "", normalizer.normalize( "--" ) ); }
9899100101102103104105
@Test public void testTelephoneNumberNormalizerHyphensSpaces() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "", normalizer.normalize( " -- - -- " ) ); }
106107108109110111112113
@Test public void testInsignifiantSpacesStringOneChar() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "1", normalizer.normalize( "1" ) ); }
114115116117118119120121
@Test public void testInsignifiantSpacesStringTwoChars() throws LdapException { Normalizer normalizer = new TelephoneNumberNormalizer(); assertEquals( "11", normalizer.normalize( "11" ) ); }