Esempio n. 1
0
        public void Setup()
        {
            requests = new List <Prayerrequest>()
            {
                new Prayerrequest()
                {
                    Id       = It.IsAny <int>(),
                    Category = It.IsAny <string>(),
                    Request  = It.IsAny <string>(),
                    Userid   = It.IsAny <string>()
                },
                new Prayerrequest()
                {
                    Id       = It.IsAny <int>(),
                    Category = It.IsAny <string>(),
                    Request  = It.IsAny <string>(),
                    Userid   = It.IsAny <string>()
                }
            };

            request = new Prayerrequest()
            {
                Id       = It.IsAny <int>(),
                Category = It.IsAny <string>(),
                Request  = It.IsAny <string>(),
                Userid   = It.IsAny <string>()
            };
        }
Esempio n. 2
0
 public void TearDown()
 {
     requests = null;
     request  = null;
 }