BusinessLogic.Tests.UnitTests.JobsTests.SitemapGeneratorTests.GamingGroupsSitemapGeneratorTests.GamingGroupsSitemapGeneratorTests.When_Last_Game_Played_Older_Than_30_Days.It_Sets_The_Priority_To_Point_Five_And_Change_Frequency_To_Monthly C# (CSharp) Метод

It_Sets_The_Priority_To_Point_Five_And_Change_Frequency_To_Monthly() приватный Метод

private It_Sets_The_Priority_To_Point_Five_And_Change_Frequency_To_Monthly ( ) : void
Результат void
            public void It_Sets_The_Priority_To_Point_Five_And_Change_Frequency_To_Monthly()
            {
                //--arrange

                //--act
                _autoMocker.ClassUnderTest.BuildGamingGroupSitemaps(_targetDirectory);

                //--assert
                _autoMocker.Get<IGamingGroupRetriever>().Received().GetGamingGroupsSitemapInfo();
                _autoMocker.Get<ISitemapGenerator>().Received(1).GenerateSitemaps(
                    Arg.Is<List<Url>>(x => x.Any(y => y.ChangeFrequency == ChangeFrequency.Monthly 
                        && y.Priority == .5 
                        && y.TimeStamp.Date == _sitemapInfoForGamingGroupWithNoRecentPlays.DateLastGamePlayed.Date)),
                    Arg.Any<DirectoryInfo>(),
                    Arg.Any<string>());
            }
        }
GamingGroupsSitemapGeneratorTests.When_Last_Game_Played_Older_Than_30_Days