public void GetEntriesForQuery_queryNull_throwsArgumentNullException()
 {
     var config = new ADConfiguration() {
         RootEntryUri = new Uri( "LDAP://mycopany.com/DC=mycopmany,DC=com" )
     };
     var provider = new PhoneNumberADPhoneBookSearchProvider( config );
     provider.GetEntriesForQuery( null );
 }
 public void Constructor_configSet_configSet()
 {
     var config = new ADConfiguration() {
         RootEntryUri = new Uri( "LDAP://mycopany.com/DC=mycopmany,DC=com" )
     };
     var provider = new PhoneNumberADPhoneBookSearchProvider( config );
     Assert.IsNotNull( provider.Configuration );
 }
 public void Constructor_noConfig_throwsArgumentNullException()
 {
     var provider = new PhoneNumberADPhoneBookSearchProvider( null );
 }
 public void Constructor_configSet_NoRootEntryUri_throwsArgumentNullException()
 {
     var provider = new PhoneNumberADPhoneBookSearchProvider( new ADConfiguration() );
 }