Ejemplo n.º 1
0
 public void AddressLine2Test()
 {
     Address target = new Address(); // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     target.AddressLine2 = expected;
     actual = target.AddressLine2;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
 /// <summary>
 /// Create a new Address object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="addressLine1">Initial value of the AddressLine1 property.</param>
 /// <param name="addressLine2">Initial value of the AddressLine2 property.</param>
 /// <param name="addressLine3">Initial value of the AddressLine3 property.</param>
 /// <param name="zip">Initial value of the Zip property.</param>
 /// <param name="countryId">Initial value of the CountryId property.</param>
 /// <param name="stateId">Initial value of the StateId property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="nodeId">Initial value of the NodeId property.</param>
 public static Address CreateAddress(global::System.Int32 id, global::System.String addressLine1, global::System.String addressLine2, global::System.String addressLine3, global::System.String zip, global::System.Int32 countryId, global::System.Int32 stateId, global::System.String city, global::System.Int32 userId, global::System.Int32 nodeId)
 {
     Address address = new Address();
     address.Id = id;
     address.AddressLine1 = addressLine1;
     address.AddressLine2 = addressLine2;
     address.AddressLine3 = addressLine3;
     address.Zip = zip;
     address.CountryId = countryId;
     address.StateId = stateId;
     address.City = city;
     address.UserId = userId;
     address.NodeId = nodeId;
     return address;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Addresses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAddresses(Address address)
 {
     base.AddObject("Addresses", address);
 }
Ejemplo n.º 4
0
 public void AddressConstructorTest()
 {
     Address target = new Address();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
Ejemplo n.º 5
0
 public void UserTest()
 {
     Address target = new Address(); // TODO: Initialize to an appropriate value
     User expected = null; // TODO: Initialize to an appropriate value
     User actual;
     target.User = expected;
     actual = target.User;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Ejemplo n.º 6
0
 public void StateReferenceTest()
 {
     Address target = new Address(); // TODO: Initialize to an appropriate value
     EntityReference<State> expected = null; // TODO: Initialize to an appropriate value
     EntityReference<State> actual;
     target.StateReference = expected;
     actual = target.StateReference;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Ejemplo n.º 7
0
 public void StateIdTest()
 {
     Address target = new Address(); // TODO: Initialize to an appropriate value
     int expected = 0; // TODO: Initialize to an appropriate value
     int actual;
     target.StateId = expected;
     actual = target.StateId;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }