Beispiel #1
0
 public void IdTest()
 {
     State target = new State(); // 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.");
 }
Beispiel #2
0
 public void AddressesTest()
 {
     State target = new State(); // 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 States EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStates(State state)
 {
     base.AddObject("States", state);
 }
 /// <summary>
 /// Create a new State object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static State CreateState(global::System.Int32 id, global::System.String name)
 {
     State state = new State();
     state.Id = id;
     state.Name = name;
     return state;
 }
Beispiel #5
0
 public void NameTest()
 {
     State target = new State(); // 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.");
 }
Beispiel #6
0
 public void StateConstructorTest()
 {
     State target = new State();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }