Beispiel #1
0
        public async Task GetAll_Returns_DatabasePage()
        {
            _inMemoryStorageAdapter.Db.Add(Constants.AllRecordsKey, null);
            var databasePage = await _configurationRepository.GetAllRecordsAsync(_token);

            databasePage.ShouldSatisfyAllConditions(
                () => databasePage.ShouldNotBeNull(),
                () => databasePage.KnownRecords.ShouldNotBeNull()
                );
        }