Exemple #1
0
        public async Task Get_SavedSubmissionReturned()
        {
            var repo = new SubmissionRepository(fileSystem, configuration, referenceNumberGenerator);

            var submission = new Submission
            {
            };

            var referenceNumber = await repo.SaveAsync(submission);

            var loadedSumbission = await repo.GetAsync(referenceNumber);

            Assert.NotNull(loadedSumbission);
        }