Example #1
0
        public override void Given()
        {
            var mockresult = new List <YourTlevelViewModel>
            {
                new YourTlevelViewModel {
                    PathwayId = 1, TlevelTitle = "RouteName1: Pathway1"
                },
                new YourTlevelViewModel {
                    PathwayId = 2, TlevelTitle = "RouteName2: Pathway2"
                }
            };

            TlevelLoader.GetTlevelsByStatusIdAsync(Arg.Any <long>(), Arg.Any <int>())
            .Returns(mockresult);
        }
 public override void Given()
 {
     TlevelLoader.GetTlevelsByStatusIdAsync(Arg.Any <long>(), Arg.Any <int>())
     .Returns(new List <YourTlevelViewModel>());
 }