Exemplo n.º 1
0
 public void TestInitialize()
 {
     this.countriesRepository = TestObjectFactoryRepositories.GetCountriesRepository();
     this.countriesServices   = new CountriesServices(this.countriesRepository);
     this.country             = new Country()
     {
         Name         = "Test Country",
         Abbreviation = "AB"
     };
 }
Exemplo n.º 2
0
 public void TestInitialize()
 {
     this.server = new InMemoryHttpServer <Country>(
         IN_MEMORY_SERVER_URL,
         TestObjectFactoryRepositories.GetCountriesRepository());
 }