UncommonSense.Volkskrant.Tests.ps1
BeforeAll { Import-Module "$PSScriptRoot/UncommonSense.Volkskrant.psd1" } Describe 'UncommonSense.Volkskrant' { It 'Get-BasVanDerSchot' { $NewerThan = (Get-Date).AddDays(-1) Get-BasVanDerSchot | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-CasperAlbers' { $NewerThan = (Get-Date).AddDays(-28) Get-CasperAlbers | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-Collignon' { $NewerThan = (Get-Date).AddDays(-1) Get-Collignon | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-CorineKoole' { $NewerThan = (Get-Date).AddDays(-14) Get-CorineKoole | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-EvaHoeke' { $NewerThan = (Get-Date).AddDays(-7) Get-EvaHoeke | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-FrankHeinen' { $NewerThan = (Get-Date).AddDays(-7) Get-FrankHeinen | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-Gummbah' { $NewerThan = (Get-Date).AddDays(-1) Get-Gummbah | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-IonicaSmeets' { $NewerThan = (Get-Date).AddDays(-7) Get-IonicaSmeets | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-JasperVanKuijk' { $NewerThan = (Get-Date).AddDays(-7) Get-JasperVanKuijk | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-JipVanDenToorn' { $NewerThan = (Get-Date).AddDays(-7) Get-JipVanDenToorn | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-SanderSchimmelpenninck' { $NewerThan = (Get-Date).AddDays(-7) Get-SanderSchimmelpenninck | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-Sigmund' { $NewerThan = (Get-Date).AddDays(-1) Get-Sigmund | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-SylviaWitteman' { $NewerThan = (Get-Date).AddDays(-7) Get-SylviaWitteman | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-TeunVanDeKeuken' { $NewerThan = (Get-Date).AddDays(-7) Get-TeunVanDeKeuken | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } It 'Get-ThomasVanLuyn' { $NewerThan = (Get-Date).AddDays(-7) Get-ThomasVanLuyn | Select-Object -First 1 -ExpandProperty Date | Should -BeGreaterOrEqual $NewerThan } } |