public void CheckAddress()
 {
     foreach (Type type in list)
     {
         //Create an instance of an object that implements the Interface
         IListElectedCongress testTypeInstance = (IListElectedCongress)Activator.CreateInstance(type);
         //Set the API Code here (you know the one for Bing Maps)
         testTypeInstance.SetApiCode("Aq9kZuBvs2QT_YQeG5kYXejUqD0rLAsQkjgqZJzbIyANUGZbquKQ4xF02cHByqMk");
         var collegedale = testTypeInstance.GetRepresentativesByAddress("5110 University Drive", "Collegedale", "TN", "37315");
         Assert.IsTrue(collegedale != null);
         Assert.IsTrue(collegedale[0].BioguideID.Equals("F000459"));
     }
 }
 public void CheckAddress()
 {
     foreach (Type type in list)
     {
         //Create an instance of an object that implements the Interface
         IListElectedCongress testTypeInstance = (IListElectedCongress)Activator.CreateInstance(type);
         //Set the API Code here (you know the one for Bing Maps)
         testTypeInstance.SetApiCode("PUT YOUR API CODE HERE");
         var collegedale = testTypeInstance.GetRepresentativesByAddress("5110 University Drive", "Collegedale", "TN", "37315");
         Assert.IsTrue(collegedale != null);
         Assert.IsTrue(collegedale[0].BioguideID.Equals("F000459"));
     }
 }