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