Ejemplo n.º 1
0
        public void TestAddRestaurant()
        {
            var restaurants = new ObservableCollection <RestModel>();
            var r           = new RestModel();

            r.ID              = 12345;
            r.RestAddress     = "test";
            r.RestDescription = "test";
            r.RestFood        = "test";
            r.RestName        = "test";
            r.RestPhone       = 544654;
            r.RestPicture1    = "test";
            r.RestPicture2    = "test";
            restaurants.Add(r);
            Assert.IsNotNull(restaurants);
        }