Esempio n. 1
0
 public void AddressesTest()
 {
     Country target = new Country(); // TODO: Initialize to an appropriate value
     EntityCollection<Address> expected = null; // TODO: Initialize to an appropriate value
     EntityCollection<Address> actual;
     target.Addresses = expected;
     actual = target.Addresses;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Countries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCountries(Country country)
 {
     base.AddObject("Countries", country);
 }
 /// <summary>
 /// Create a new Country object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Country CreateCountry(global::System.Int32 id, global::System.String name)
 {
     Country country = new Country();
     country.Id = id;
     country.Name = name;
     return country;
 }
Esempio n. 4
0
 public void IdTest()
 {
     Country target = new Country(); // TODO: Initialize to an appropriate value
     int expected = 0; // TODO: Initialize to an appropriate value
     int actual;
     target.Id = expected;
     actual = target.Id;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Esempio n. 5
0
 public void CountryConstructorTest()
 {
     Country target = new Country();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
Esempio n. 6
0
 public void NameTest()
 {
     Country target = new Country(); // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     target.Name = expected;
     actual = target.Name;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }