Exemplo n.º 1
0
        public async Task ThenLaListeDesPeriodesEstPresenteeDansCetOrdre()
        {
            var periods = await FakeServer.GetAllPeriod();

            periods.Should().BeInDescendingOrder(a => a.PeriodId);
        }
Exemplo n.º 2
0
        public async Task ThenLaListeDesPeriodesContient(string expectedPeriodName, string expectedPeriodId)
        {
            var periods = await FakeServer.GetAllPeriod();

            periods.Should().ContainEquivalentOf(new PeriodResult(expectedPeriodName, expectedPeriodId));
        }