Example #1
0
        public override void Given()
        {
            var mockresult = new YourTlevelsViewModel
            {
                IsAnyReviewPending = false,
                ConfirmedTlevels   = new List <YourTlevelViewModel>(),
                QueriedTlevels     = new List <YourTlevelViewModel>()
            };

            TlevelLoader.GetYourTlevelsViewModel(Arg.Any <long>())
            .Returns(mockresult);
        }
Example #2
0
        public override void Given()
        {
            var mockresult = new YourTlevelsViewModel
            {
                IsAnyReviewPending = true,
                ConfirmedTlevels   = new List <YourTlevelViewModel>
                {
                    new YourTlevelViewModel {
                        PathwayId = expectedPathwayId, TlevelTitle = expectedTlevelTitle
                    }
                },
                QueriedTlevels = new List <YourTlevelViewModel>()
            };

            TlevelLoader.GetYourTlevelsViewModel(Arg.Any <long>())
            .Returns(mockresult);
        }