public void EqualsTest()
 {
     MenuStructureList target = new MenuStructureList();
     object obj = null;
     bool expected = false;
     bool actual;
     actual = target.Equals(obj);
     Assert.AreEqual(expected, actual);
 }
 public void EqualsTest()
 {
     MenuStructureList target = new MenuStructureList(); // TODO: Initialize to an appropriate value
     object obj = null; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.Equals(obj);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #3
0
 public void GetMenuStructureTest()
 {
     Service target = new Service();
     MenuStructureList expected = new MenuStructureList() {
         new MenuStructure() { SiteNumber = 101, Title = "News" },
         new MenuStructure() { SiteNumber = 200, Title = "Sport" },
         new MenuStructure() { SiteNumber = 300, Title = "TV/Radio" },
         new MenuStructure() { SiteNumber = 400, Title = "Reisen" },
         new MenuStructure() { SiteNumber = 500, Title = "Konsum" },
         new MenuStructure() { SiteNumber = 600, Title = "Finanzen" },
         new MenuStructure() { SiteNumber = 700, Title = "Entertainment" },
         new MenuStructure() { SiteNumber = 800, Title = "Freizeit" }
     };
     MenuStructureList actual;
     actual = target.GetMenuStructure();
     Assert.IsTrue(expected.Equals(actual));
 }