コード例 #1
0
        public void Setup()
        {
            catechism = new Westminstercatechism()
            {
                Id       = It.IsAny <int>(),
                Number   = It.IsAny <int>(),
                Question = It.IsAny <string>(),
                Answer   = It.IsAny <string>()
            };

            jmVerseList = new List <Jmverse>()
            {
                new Jmverse()
                {
                    Id        = It.IsAny <int>(),
                    Reference = It.IsAny <string>(),
                    Text      = It.IsAny <string>(),
                    Year      = It.IsAny <string>(),
                    Month     = It.IsAny <int>(),
                    Startdate = It.IsAny <DateTime>(),
                    Enddate   = It.IsAny <DateTime>()
                },
                new Jmverse()
                {
                    Id        = It.IsAny <int>(),
                    Reference = It.IsAny <string>(),
                    Text      = It.IsAny <string>(),
                    Year      = It.IsAny <string>(),
                    Month     = It.IsAny <int>(),
                    Startdate = It.IsAny <DateTime>(),
                    Enddate   = It.IsAny <DateTime>()
                }
            };
        }
コード例 #2
0
 public void TearDown()
 {
     catechism      = null;
     jmVerseList    = null;
     prayerRequests = null;
     appSettings    = null;
 }
コード例 #3
0
        public void Setup()
        {
            catechism = new Westminstercatechism()
            {
                Id       = It.IsAny <int>(),
                Number   = It.IsAny <int>(),
                Question = It.IsAny <string>(),
                Answer   = It.IsAny <string>()
            };

            jmVerseList = new List <Jmverse>()
            {
                new Jmverse()
                {
                    Id        = It.IsAny <int>(),
                    Reference = It.IsAny <string>(),
                    Text      = It.IsAny <string>(),
                    Year      = It.IsAny <string>(),
                    Month     = It.IsAny <int>(),
                    Startdate = It.IsAny <DateTime>(),
                    Enddate   = It.IsAny <DateTime>()
                },
                new Jmverse()
                {
                    Id        = It.IsAny <int>(),
                    Reference = It.IsAny <string>(),
                    Text      = It.IsAny <string>(),
                    Year      = It.IsAny <string>(),
                    Month     = It.IsAny <int>(),
                    Startdate = It.IsAny <DateTime>(),
                    Enddate   = It.IsAny <DateTime>()
                }
            };

            prayerRequests = 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>()
                }
            };

            appSettings = new AppSettings()
            {
                ValleyOfVisionURLBase = It.IsAny <string>()
            };
        }
コード例 #4
0
 public void Setup()
 {
     catechism = new Westminstercatechism()
     {
         Id       = It.IsAny <int>(),
         Number   = It.IsAny <int>(),
         Question = It.IsAny <string>(),
         Answer   = It.IsAny <string>()
     };
 }
コード例 #5
0
 public void TearDown()
 {
     catechism   = null;
     jmVerseList = null;
 }
コード例 #6
0
 public void TearDown()
 {
     catechism = null;
 }